This commit is contained in:
Alex Janka 2023-02-03 17:37:08 +11:00
parent 74551afdd8
commit 28fef84118

View file

@ -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();