update dependencies, disable wayland support

wayland support doesn't fully work with gnome
(missing window decoration)
This commit is contained in:
dranke committed 2022-01-23 13:16:04 +01:00
1 parent 81a38c2d75
commit cacde9136c
3 files changed
+72 -224

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ impl MicroW8 {
{
let time = instance.start_time.elapsed().as_millis() as i32;
let mut gamepad: u32 = 0;
for key in self.window.get_keys().unwrap_or(Vec::new()) {
for key in self.window.get_keys() {
if let Some(index) = GAMEPAD_KEYS.iter().enumerate().find(|(_, &k)| k == key).map(|(i, _)| i) {
gamepad |= 1 << index;
}