diff test/threadwin.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 931d111e737a
children
line wrap: on
line diff
--- a/test/threadwin.c	Thu Jul 06 05:53:32 2006 +0000
+++ b/test/threadwin.c	Thu Jul 06 07:17:11 2006 +0000
@@ -80,7 +80,7 @@
 }
 
 int SDLCALL
-FilterEvents(SDL_Event * event)
+FilterEvents(void *userdata, SDL_Event * event)
 {
     static int reallyquit = 0;
 
@@ -296,7 +296,7 @@
     SDL_EnableUNICODE(1);
 
     /* Set an event filter that discards everything but QUIT */
-    SDL_SetEventFilter(FilterEvents);
+    SDL_SetEventFilter(FilterEvents, NULL);
 
     /* Create the event handling threads */
     mouse_thread = SDL_CreateThread(HandleMouse, NULL);