diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-07-30 13:29:28 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-07-30 13:29:28 +0200 |
commit | 6d9c5eb2bd61ef811afff959c2d7e7e3a1d21f06 (patch) | |
tree | 018c0ff647b97ebacb416e0949e17e34355c1a52 /examples | |
parent | 1249ebed803993078f4c11e5d2565477bdaeccf5 (diff) | |
download | glutin-6d9c5eb2bd61ef811afff959c2d7e7e3a1d21f06.tar.gz glutin-6d9c5eb2bd61ef811afff959c2d7e7e3a1d21f06.zip |
should_close() renamed to is_closed()
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); |