aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2017-11-13 01:48:48 -0500
committerDeterminant <ted.sybil@gmail.com>2017-11-13 01:48:48 -0500
commit5d3a46796798da4969d54f226629f245dea49486 (patch)
tree2b577f8434448c997f88062dd5719f3d0c44eb79 /src/main.rs
parent7febfa1567252a891a512e3c1e3e5a1f838a853f (diff)
...
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index cd39d39..9e54547 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -79,7 +79,7 @@ fn get_rgb(color: u8) -> Color {
impl ppu::Screen for SDLWindow {
fn put(&self, x: u8, y: u8, color: u8) {
let mut canvas = self.canvas.borrow_mut();
- println!("put {} at {}, {}", color, x, y);
+ //println!("put {} at {}, {}", color, x, y);
canvas.set_draw_color(get_rgb(color));
canvas.draw_rect(Rect::new((x as u32 * PIXEL_SIZE) as i32,
(y as u32 * PIXEL_SIZE) as i32,