(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_ClearHints

Clear all hints.

Header File

Defined in SDL_hints.h

Syntax

void SDL_ClearHints(void);

Remarks

This function is automatically called during SDL_Quit(), and deletes all callbacks without calling them and frees all memory associated with hints. If you're calling this from application code you probably want to call SDL_ResetHints() instead.

This function will be removed from the API the next time we rev the ABI.

Version

This function is available since SDL 2.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryHints