summaryrefslogtreecommitdiff
path: root/games/mirrormagic/files/patch-src_libgame_system.c
blob: dffd7522d0f4b7f705c34b25c0adde0b0b4d2eed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- src/libgame/system.c.orig	2018-04-10 19:44:08 UTC
+++ src/libgame/system.c
@@ -1579,6 +1579,7 @@ void SetAudioMode(boolean enabled)
 
 boolean PendingEvent(void)
 {
+  SDL_PumpEvents();
   return (SDL_PollEvent(NULL) ? TRUE : FALSE);
 }