Wiki Page Content

SDL_DisableScreenSaver

Use this function to prevent the screen from being blanked by a screen saver.

Syntax

void SDL_DisableScreenSaver(void)

Code Examples

SDL_DisableScreenSaver();

Remarks

If you disable the screensaver, it is automatically re-enabled when SDL quits.

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryVideo

None: SDL_DisableScreenSaver (last edited 2016-06-10 19:57:47 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit