parent
d6f44a7f56
commit
9493458b8e
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue