diff --git a/src/main.rs b/src/main.rs index eb3a156..9acffec 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,6 @@ fn main() { let mut input = WinitInputHelper::new(); let event_loop = EventLoop::new(); let window = init_window(&event_loop); - let mut hidpi_factor = window.scale_factor(); let mut pixels = init_pixels(&window); let rom_path = Path::new("./games/ibm_logo.ch8"); @@ -44,10 +43,6 @@ fn main() { return; } - if let Some(factor) = input.scale_factor_changed() { - hidpi_factor = factor; - }; - if let Some(size) = input.window_resized() { pixels.resize(size.width, size.height); }