diff options
| author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-07-27 13:10:43 +0200 | 
|---|---|---|
| committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-07-27 13:10:43 +0200 | 
| commit | 603006288194407930b769ec723dd29cb9fb8fc6 (patch) | |
| tree | 5286d8763280cc6a698c7874da9be93895ce6b3a /examples | |
| parent | 13b79ffaaf3877531e5ebbcc3ae0068dae5e4516 (diff) | |
| download | glutin-603006288194407930b769ec723dd29cb9fb8fc6.tar.gz glutin-603006288194407930b769ec723dd29cb9fb8fc6.zip  | |
Example now displays windows events
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/window.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
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);  | 
