Example now displays windows events

This commit is contained in:
Tomaka17 2014-07-27 13:10:43 +02:00
parent 13b79ffaaf
commit 6030062881

View file

@ -14,7 +14,7 @@ fn main() {
gl::ClearColor(0.0, 1.0, 0.0, 1.0); gl::ClearColor(0.0, 1.0, 0.0, 1.0);
while !window.should_close() { while !window.should_close() {
window.wait_events(); println!("{}", window.wait_events());
gl::Clear(gl::COLOR_BUFFER_BIT); gl::Clear(gl::COLOR_BUFFER_BIT);