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:
Daniel Gibson 2015-10-23 18:19:46 +02:00
parent c2c989cfb6
commit 4198f92bd5

View file

@ -629,7 +629,8 @@ sysEvent_t Sys_GetEvent() {
continue; // handle next event
}
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
}
}