diff options
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs index f2ef90b2..c0685204 100644 --- a/src/main.rs +++ b/src/main.rs @@ -118,12 +118,6 @@ fn main() { println!("device_pixel_ratio: {}", dpr); - for event in window.wait_events() { - if let glutin::Event::Refresh = event { - break; - } - } - let _ = unsafe { window.make_current() }; unsafe { gl::Viewport(0, 0, width as i32, height as i32); |