mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 10:34:57 +01:00
Run cargo fmt
This commit is contained in:
1 parent
d4ef083dbb
commit
774dbcd99a
7 files changed
+88
-81
No files matched your search
@@ -62,10 +62,7 @@ pub fn run<E: Example>(title: &str) {
|
||||
let window = Window::new(&events_loop).unwrap();
|
||||
window.set_title(title);
|
||||
let hidpi_factor = window.get_hidpi_factor();
|
||||
let size = window
|
||||
.get_inner_size()
|
||||
.unwrap()
|
||||
.to_physical(hidpi_factor);
|
||||
let size = window.get_inner_size().unwrap().to_physical(hidpi_factor);
|
||||
|
||||
let surface = instance.create_surface(&window);
|
||||
|
||||
|
||||
Reference in new issue
Block a user