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