mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-02-12 07:05:27 +00:00
ignore unknown SDL events
they just spam the console and don't matter anyway. for example, on OS X you get lots of SDL_FINGER* events that spam the console.
This commit is contained in:
parent
c2c989cfb6
commit
4198f92bd5
1 changed files with 2 additions and 1 deletions
|
@ -629,7 +629,8 @@ sysEvent_t Sys_GetEvent() {
|
||||||
continue; // handle next event
|
continue; // handle next event
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
common->Warning("unknown SDL event 0x%x", ev.type);
|
// ok, I don't /really/ care about unknown SDL events. only uncomment this for debugging.
|
||||||
|
// common->Warning("unknown SDL event 0x%x", ev.type);
|
||||||
continue; // handle next event
|
continue; // handle next event
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue