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_SetHint - Set a hint with normal priority.

Availability

       This function is available since SDL 3.2.0.

Description

       Hints  will  not  be  set  if  there  is  an  existing  override  hint or environment variable that takes
       precedence. You can use SDL_SetHintWithPriority() to set the hint with override priority instead.

Function Parameters

name   the hint to set.

       value  the value of the hint variable.

Name

       SDL_SetHint - Set a hint with normal priority.

Return Value

       for more information.

See Also

SDL_GetHint(3), SDL_ResetHint(3), SDL_SetHintWithPriority(3)

Simple Directmedia Layer                           SDL 3.2.20                                     SDL_SetHint(3)

Synopsis

#include<SDL3/SDL_hints.h>boolSDL_SetHint(constchar*name,constchar*value);

Thread Safety

       It is safe to call this function from any thread.

See Also