Permalink
Browse files

Update for language changes

  • Loading branch information...
1 parent ce1f192 commit bb0d390175413c82d437728cc77eba25bde9570f @brson brson committed Dec 4, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −1 rendergl.rs
  2. +1 −0 scene.rs
View
3 rendergl.rs
@@ -3,6 +3,7 @@ use layers::{TiledImageLayerKind};
use scene::Scene;
use geom::matrix::{Matrix4, ortho};
+use geom::size::Size2D;
use opengles::gl2;
use opengles::gl2::{ARRAY_BUFFER, COLOR_BUFFER_BIT, CLAMP_TO_EDGE, COMPILE_STATUS};
use opengles::gl2::{FRAGMENT_SHADER, LINEAR, LINK_STATUS, NEAREST, NO_ERROR, REPEAT, RGB, RGBA,
@@ -155,7 +156,7 @@ pub fn create_texture_for_image_if_necessary(image: @Image) {
let texture = gen_textures(1 as GLsizei)[0];
- #debug("making texture, id=%d, format=%?", texture as int, image.data.format());
+ debug!("making texture, id=%d, format=%?", texture as int, image.data.format());
bind_texture(TEXTURE_RECTANGLE_ARB, texture);
View
1 scene.rs
@@ -1,5 +1,6 @@
use layers::Layer;
use geom::size::Size2D;
+use geom::matrix::Matrix4;
pub struct Scene {
mut root: Layer,

0 comments on commit bb0d390

Please sign in to comment.