mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 19:31:30 +11:00
Cleaned example
This commit is contained in:
parent
482e2dee48
commit
8abc41f7cd
|
@ -10,10 +10,6 @@ const WIDTH: usize = 1280;
|
||||||
const HEIGHT: usize = 720;
|
const HEIGHT: usize = 720;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let mut noise;
|
|
||||||
let mut carry;
|
|
||||||
let mut seed = 0xbeefu32;
|
|
||||||
|
|
||||||
let mut buffer: [u32; WIDTH * HEIGHT] = [0; WIDTH * HEIGHT];
|
let mut buffer: [u32; WIDTH * HEIGHT] = [0; WIDTH * HEIGHT];
|
||||||
|
|
||||||
if !(minifb::open("TestWindow", WIDTH, HEIGHT)) {
|
if !(minifb::open("TestWindow", WIDTH, HEIGHT)) {
|
||||||
|
|
Loading…
Reference in a new issue