Remove an event watch callback added with SDL_AddEventWatch().
Defined in SDL_events.h
void SDL_DelEventWatch(SDL_EventFilter filter,
void *userdata);
SDL_EventFilter | filter | the function originally passed to SDL_AddEventWatch(). |
void * | 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.