diff options
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 4d54035..4066fed 100644 --- a/examples/window.rs +++ b/examples/window.rs @@ -20,7 +20,7 @@ fn main() { gl::ClearColor(0.0, 1.0, 0.0, 1.0); - while !window.should_close() { + while !window.is_closed() { println!("{}", window.wait_events()); gl::Clear(gl::COLOR_BUFFER_BIT); |