diff options
Diffstat (limited to 'examples/fullscreen.rs')
-rw-r--r-- | examples/fullscreen.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fullscreen.rs b/examples/fullscreen.rs index de4c449..305829d 100644 --- a/examples/fullscreen.rs +++ b/examples/fullscreen.rs @@ -40,14 +40,14 @@ fn main() { .build() .unwrap(); - unsafe { window.make_current() }; + let _ = unsafe { window.make_current() }; let context = support::load(&window); for event in window.wait_events() { context.draw_frame((0.0, 1.0, 0.0, 1.0)); - window.swap_buffers(); + let _ = window.swap_buffers(); println!("{:?}", event); |