projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed event filter to not set as SDL event filter, but call it manually
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 7d85f6171925be6137208f50461354d0dd751626..222b6f609a19d9d1fb899891b064e6f0dfa14f8e 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-1401,16
+1401,6
@@
void SetAudioMode(boolean enabled)
/* event functions */
/* ========================================================================= */
/* event functions */
/* ========================================================================= */
-void InitEventFilter(EventFilter filter_function)
-{
- /* set event filter to filter out certain events */
-#if defined(TARGET_SDL2)
- SDL_SetEventFilter(filter_function, NULL);
-#else
- SDL_SetEventFilter(filter_function);
-#endif
-}
-
boolean PendingEvent(void)
{
return (SDL_PollEvent(NULL) ? TRUE : FALSE);
boolean PendingEvent(void)
{
return (SDL_PollEvent(NULL) ? TRUE : FALSE);