Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2011-01-03 19:20:25
Size: 579
Editor: Sam Lantinga
Comment:
Revision 7 as of 2014-06-22 02:36:17
Size: 570
Editor: dthree
Comment: Unsure if hint override is equivalent: SDL_SetHintWithPriority(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "0", SDL_HINT_OVERRIDE);
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
You can add your code example here SDL_DisableScreenSaver();

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.


CategoryAPI, CategoryVideo

None: SDL_DisableScreenSaver (last edited 2014-06-22 02:36:17 by dthree)

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