mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
parent
d6f44a7f56
commit
9493458b8e
|
@ -50,6 +50,7 @@ fn main() {
|
||||||
|
|
||||||
match event {
|
match event {
|
||||||
glutin::Event::Closed => break,
|
glutin::Event::Closed => break,
|
||||||
|
glutin::Event::KeyboardInput(_, _, Some(glutin::VirtualKeyCode::Escape)) => break,
|
||||||
_ => ()
|
_ => ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue