diff test/testwm.c @ 1724:6c63fc2bd986 SDL-1.3

Proof of concept done - Win32 GDI implementation mostly complete.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 06 Jul 2006 07:17:11 +0000
parents 8d7fecceb9ef
children 875c3cf1a12c
line wrap: on
line diff
--- a/test/testwm.c	Thu Jul 06 05:53:32 2006 +0000
+++ b/test/testwm.c	Thu Jul 06 07:17:11 2006 +0000
@@ -176,7 +176,7 @@
 }
 
 int SDLCALL
-FilterEvents(SDL_Event * event)
+FilterEvents(void *userdata, SDL_Event * event)
 {
     static int reallyquit = 0;
 
@@ -344,7 +344,7 @@
     }
 
     /* Set an event filter that discards everything but QUIT */
-    SDL_SetEventFilter(FilterEvents);
+    SDL_SetEventFilter(FilterEvents, NULL);
 
     /* Ignore key up events, they don't even get filtered */
     SDL_EventState(SDL_KEYUP, SDL_IGNORE);