mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-09 21:01:29 +11:00
Example now displays windows events
This commit is contained in:
parent
13b79ffaaf
commit
6030062881
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue