test/testwm.c
branchSDL-1.3
changeset 1724 6c63fc2bd986
parent 1686 8d7fecceb9ef
child 1731 875c3cf1a12c
     1.1 --- a/test/testwm.c	Thu Jul 06 05:53:32 2006 +0000
     1.2 +++ b/test/testwm.c	Thu Jul 06 07:17:11 2006 +0000
     1.3 @@ -176,7 +176,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 @@ -344,7 +344,7 @@
    1.13      }
    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      /* Ignore key up events, they don't even get filtered */
    1.20      SDL_EventState(SDL_KEYUP, SDL_IGNORE);