Removed the unused ActiveState
[kaka/rust-sdl-test.git] / src / core / render.rs
index 7932d55..5afa368 100644 (file)
@@ -21,6 +21,7 @@ impl Renderer {
        &mut self.canvas
     }
 
+    #[allow(dead_code)]
     pub fn viewport(&self) -> (u16, u16) {
        let vp = self.canvas.viewport();
        (vp.width() as u16, vp.height() as u16)
@@ -53,6 +54,7 @@ impl Renderer {
        self.canvas.copy(texture, src, dst).unwrap();
     }
 
+    #[allow(dead_code)]
     pub fn blit_ex<R1, R2, P>(&mut self,
                               texture: &Texture,
                               src: R1,
@@ -76,6 +78,7 @@ impl Renderer {
        self.canvas.aa_circle(pos.0, pos.1, rad, col.into()).unwrap();
     }
 
+    #[allow(dead_code)]
     pub fn ellipse<P, R, C>(&self, pos: P, rad: R, col: C)
     where P: Into<(i16, i16)>,
          R: Into<(i16, i16)>,