WindowSize: Use physical size instead
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s

This commit is contained in:
Florian RICHER 2024-11-15 20:43:24 +01:00
parent fb4ac29c07
commit 1cb9309a56
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77

View file

@ -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),
));