SDL_ResetHint - Man Page

Reset a hint to the default value.

Header File

Defined in SDL3/SDL_hints.h

Synopsis

#include "SDL3/SDL.h"

bool SDL_ResetHint(const char *name);

Description

This will reset a hint to the value of the environment variable, or NULL if the environment isn't set. Callbacks will be called normally with this change.

Function Parameters

name

the hint to set.

Return Value

Returns true on success or false on failure; call

SDL_GetError () for more information.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_SetHint(3), ·(3), SDL_ResetHints(3)

Referenced By

SDL_ResetHints(3), SDL_SetHint(3), SDL_SetHintWithPriority(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS