mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 14:49:07 -04:00
Example now displays windows events
This commit is contained in:
@@ -14,7 +14,7 @@ fn main() {
|
||||
gl::ClearColor(0.0, 1.0, 0.0, 1.0);
|
||||
|
||||
while !window.should_close() {
|
||||
window.wait_events();
|
||||
println!("{}", window.wait_events());
|
||||
|
||||
gl::Clear(gl::COLOR_BUFFER_BIT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user