Ubuntu Manpages

SDL_RemoveHintCallback

Remove a function watching a particular hint.

#include <SDL3/SDL_hints.h>
void SDL_RemoveHintCallback(const char *name,
                            SDL_HintCallback callback,
                            void *userdata);

the hint being watched.
an SDL_HintCallback function that will be called when the hint value changes.
a pointer being passed to the callback function.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

SDL_AddHintCallback(3)