From f0d7c84a3f327d8f034afbd23c2b72e644e273cd Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Wed, 25 Sep 2019 23:11:36 -0700 Subject: [PATCH] Minor code hygiene. --- examples/invaders/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/invaders/main.rs b/examples/invaders/main.rs index 041afc6..78b98a9 100644 --- a/examples/invaders/main.rs +++ b/examples/invaders/main.rs @@ -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) };