logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_ResetHint - Reset a hint to the default value.

Availability

       This function is available since SDL 3.2.0.

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.

Header File

       Defined in SDL3/SDL_hints.h

Name

       SDL_ResetHint - Reset a hint to the default value.

Return Value

       Returns true on success or false on failure; call

       SDL_GetError () for more information.

See Also

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

Simple Directmedia Layer                           SDL 3.2.10                                   SDL_ResetHint(3)

Synopsis

#include"SDL3/SDL.h"boolSDL_ResetHint(constchar*name);

Thread Safety

       It is safe to call this function from any thread.

See Also