Function SDL_SetHint

pub unsafe extern "C" fn SDL_SetHint(
    name: *const i8,
    value: *const i8,
) -> SDL_bool
Available on crate feature dep_sdl2 only.
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