add some command line switches for the gpu window

This commit is contained in:
2022-07-23 22:34:59 +02:00
parent 465e66ff4b
commit 760664eb77
12 changed files with 195 additions and 62 deletions

View File

@@ -78,6 +78,6 @@ impl WindowImpl for Window {
}
fn is_open(&self) -> bool {
self.window.is_open()
self.window.is_open() && !self.window.is_key_down(Key::Escape)
}
}