diff --git a/src/trekstor.rs b/src/trekstor.rs index 4994dcf..fbb8b1c 100644 --- a/src/trekstor.rs +++ b/src/trekstor.rs @@ -41,9 +41,9 @@ impl Platform for Trekstor { let input = InputState::new(&screen); let mut ctx = Context { screen, input }; - let mut buffer1 = [Rgb565Pixel(0); 614400]; + let mut buffer1 = [Rgb565Pixel(0); 512 * 512]; - let window_width = ctx.screen.width() - 1; + let window_width = 512; // let window_height = ctx.screen.height() - 1; loop {