should_close() renamed to is_closed()

This commit is contained in:
Tomaka17 2014-07-30 13:29:28 +02:00
parent 1249ebed80
commit 6d9c5eb2bd
4 changed files with 19 additions and 12 deletions

View file

@ -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);