From 603006288194407930b769ec723dd29cb9fb8fc6 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Sun, 27 Jul 2014 13:10:43 +0200 Subject: Example now displays windows events --- examples/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/window.rs') diff --git a/examples/window.rs b/examples/window.rs index eeb500e..d827a05 100644 --- a/examples/window.rs +++ b/examples/window.rs @@ -14,7 +14,7 @@ fn main() { gl::ClearColor(0.0, 1.0, 0.0, 1.0); while !window.should_close() { - window.wait_events(); + println!("{}", window.wait_events()); gl::Clear(gl::COLOR_BUFFER_BIT); -- cgit v1.2.3