From 6aa4dbbac1feda1b98f2d64000883f6ccb4550c7 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Mon, 23 Nov 2015 19:23:11 +0100 Subject: [PATCH] Updated Noise Example --- examples/noise.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/noise.rs b/examples/noise.rs index ce7a1da..d1bf858 100644 --- a/examples/noise.rs +++ b/examples/noise.rs @@ -1,7 +1,7 @@ extern crate minifb; -const WIDTH: usize = 1280; -const HEIGHT: usize = 720; +const WIDTH: usize = 640; +const HEIGHT: usize = 360; fn main() { let mut noise; @@ -10,7 +10,7 @@ fn main() { let mut buffer: [u32; WIDTH * HEIGHT] = [0; WIDTH * HEIGHT]; - if !(minifb::open("TestWindow", WIDTH, HEIGHT)) { + if !(minifb::open("Noise Test - Press ESC to exit", WIDTH, HEIGHT)) { return; }