Function SDL_ResetHint

pub unsafe extern "C" fn SDL_ResetHint(name: *const i8) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Reset a hint to the default value.

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.

§Parameters

  • name: the hint to set.

§Return value

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

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also