Remove an event watch callback added with SDL_AddEventWatch().
Defined in SDL_events.h
filter | the function originally passed to SDL_AddEventWatch() |
userdata | the pointer originally passed to SDL_AddEventWatch() |
This function takes the same input as SDL_AddEventWatch() to identify and delete the corresponding callback.
This function is available since SDL 2.0.0.