Function sdl2_sys::SDL_DisableScreenSaver
source · pub unsafe extern "C" fn SDL_DisableScreenSaver()
Expand description
Prevent the screen from being blanked by a screen saver.
If you disable the screensaver, it is automatically re-enabled when SDL quits.
\since This function is available since SDL 2.0.0.
\sa SDL_EnableScreenSaver \sa SDL_IsScreenSaverEnabled