test/threadwin.c
branchSDL-1.3
changeset 1724 6c63fc2bd986
parent 1712 931d111e737a
     1.1 --- a/test/threadwin.c	Thu Jul 06 05:53:32 2006 +0000
     1.2 +++ b/test/threadwin.c	Thu Jul 06 07:17:11 2006 +0000
     1.3 @@ -80,7 +80,7 @@
     1.4  }
     1.5  
     1.6  int SDLCALL
     1.7 -FilterEvents(SDL_Event * event)
     1.8 +FilterEvents(void *userdata, SDL_Event * event)
     1.9  {
    1.10      static int reallyquit = 0;
    1.11  
    1.12 @@ -296,7 +296,7 @@
    1.13      SDL_EnableUNICODE(1);
    1.14  
    1.15      /* Set an event filter that discards everything but QUIT */
    1.16 -    SDL_SetEventFilter(FilterEvents);
    1.17 +    SDL_SetEventFilter(FilterEvents, NULL);
    1.18  
    1.19      /* Create the event handling threads */
    1.20      mouse_thread = SDL_CreateThread(HandleMouse, NULL);