Minor code hygiene.
This commit is contained in:
parent
cc4976079b
commit
f0d7c84a3f
|
@ -8,8 +8,8 @@ fn main() -> Result<(), PixelsError> {
|
|||
|
||||
let (_window, surface) = {
|
||||
let window = winit::window::Window::new(&event_loop).unwrap();
|
||||
|
||||
let surface = wgpu::Surface::create(&window);
|
||||
|
||||
(window, surface)
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue