Function sdl2_sys::SDL_SetHint

source ·
pub unsafe extern "C" fn SDL_SetHint(
    name: *const c_char,
    value: *const c_char
) -> SDL_bool
Expand description

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.

\param name the hint to set \param value the value of the hint variable \returns SDL_TRUE if the hint was set, SDL_FALSE otherwise.

\since This function is available since SDL 2.0.0.

\sa SDL_GetHint \sa SDL_SetHintWithPriority