From 1cb9309a56d23d82b7bfe1d76c6239144e248f3f Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Fri, 15 Nov 2024 20:43:24 +0100 Subject: [PATCH] WindowSize: Use physical size instead --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 309a2f3..9792523 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,7 @@ fn main() { let window_attributes = winit::window::Window::default_attributes() .with_title("Rust ASH Test") - .with_inner_size(winit::dpi::LogicalSize::new( + .with_inner_size(winit::dpi::PhysicalSize::new( f64::from(800), f64::from(600), ));