Get the boolean value of a hint variable.
Defined in <SDL3/SDL_hints.h>
bool SDL_GetHintBoolean(const char *name, bool default_value);
const char * | name | the name of the hint to get the boolean value from. |
bool | default_value | the value to return if the hint does not exist. |
(bool) Returns the boolean value of a hint or the provided default value if the hint does not exist.
It is safe to call this function from any thread.
This function is available since SDL 3.1.3.