SDL_SetHint

Set a hint with normal priority.

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.

extern (C) nothrow @nogc extern
bool
SDL_SetHint
(
const(char)* name
,
const(char)* value
)

Parameters

name const(char)*

the hint to set.

value const(char)*

the value of the hint variable.

Return Value

Type: bool

true on success or false on failure; call SDL_GetError() for more information.

Threadsafety: It is safe to call this function from any thread.

See Also

Meta