mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2025-01-11 03:21:32 +11:00
Updated Noise Example
This commit is contained in:
parent
5f752255fd
commit
6aa4dbbac1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue