Minor code hygiene.
This commit is contained in:
parent
cc4976079b
commit
f0d7c84a3f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue