WindowSize: Use physical size instead
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 0s
This commit is contained in:
parent
fb4ac29c07
commit
1cb9309a56
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||
));
|
||||
|
|
Loading…
Reference in a new issue