Add a function to watch a particular hint.
Defined in SDL_hints.h
void SDL_AddHintCallback(const char *name,
SDL_HintCallback callback,
void *userdata);| const char * | name | the hint to watch. |
| SDL_HintCallback | callback | An SDL_HintCallback function that will be called when the hint value changes. |
| void * | userdata | a pointer to pass to the callback function. |
This function is available since SDL 2.0.0.