From 6d9c5eb2bd61ef811afff959c2d7e7e3a1d21f06 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Wed, 30 Jul 2014 13:29:28 +0200 Subject: should_close() renamed to is_closed() --- examples/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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); -- cgit v1.2.3