aboutsummaryrefslogtreecommitdiffstats
path: root/examples/multiwindow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/multiwindow.rs')
-rw-r--r--examples/multiwindow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs
index cd57d2e..115d5f2 100644
--- a/examples/multiwindow.rs
+++ b/examples/multiwindow.rs
@@ -47,6 +47,6 @@ fn run(window: glutin::Window, color: (f32, f32, f32, f32)) {
context.draw_frame(color);
window.swap_buffers();
- window.wait_events().collect::<Vec<glutin::Event>>();
+ window.wait_events().next();
}
}