Remove an event watch callback added with SDL_AddEventWatch().
This function takes the same input as SDL_AddEventWatch() to identify and delete the corresponding callback.
\param filter the function originally passed to SDL_AddEventWatch(). \param userdata the pointer originally passed to SDL_AddEventWatch().
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.2.0.
\sa SDL_AddEventWatch
See Implementation
Remove an event watch callback added with SDL_AddEventWatch().
This function takes the same input as SDL_AddEventWatch() to identify and delete the corresponding callback.
\param filter the function originally passed to SDL_AddEventWatch(). \param userdata the pointer originally passed to SDL_AddEventWatch().
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.2.0.
\sa SDL_AddEventWatch