diff --git a/src/main.rs b/src/main.rs index 6350030..9f34a94 100644 --- a/src/main.rs +++ b/src/main.rs @@ -122,7 +122,10 @@ fn main() -> Result<()> { #[cfg(not(windows))] fn create_window(event_loop: &EventLoop<()>, title: &str) -> Result { - let size = LogicalSize::new((GB_WIDTH as f64) * SCALE, (GB_HEIGHT as f64) * SCALE); + let size = LogicalSize::new( + (GB_WIDTH as f64) * WINDOW_SCALE, + (GB_HEIGHT as f64) * WINDOW_SCALE, + ); Ok(WindowBuilder::new() .with_title(title) .with_inner_size(size)