stink
This commit is contained in:
parent
74551afdd8
commit
28fef84118
13
src/main.rs
13
src/main.rs
|
@ -259,15 +259,10 @@ fn main() {
|
|||
|
||||
let buffer: Vec<u32> = vec![0; WIDTH * HEIGHT];
|
||||
|
||||
let mut window = Window::new(
|
||||
"Test - ESC to exit",
|
||||
WIDTH,
|
||||
HEIGHT,
|
||||
WindowOptions::default(),
|
||||
)
|
||||
.unwrap_or_else(|e| {
|
||||
panic!("{}", e);
|
||||
});
|
||||
let mut window = Window::new("Gameboy", WIDTH, HEIGHT, WindowOptions::default())
|
||||
.unwrap_or_else(|e| {
|
||||
panic!("{}", e);
|
||||
});
|
||||
|
||||
window.update_with_buffer(&buffer, WIDTH, HEIGHT).unwrap();
|
||||
|
||||
|
|
Loading…
Reference in a new issue