Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2011-01-03 19:10:47
Size: 648
Editor: Sam Lantinga
Comment:
Revision 6 as of 2011-01-03 19:20:25
Size: 579
Editor: Sam Lantinga
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
[[SDL_EnableScreenSaver]]() is automatically called when shutting down SDL, so you don't have to worry about restoring the original state yourself. If you disable the screensaver, it is automatically re-enabled when SDL quits.

SDL_DisableScreenSaver

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

Syntax

void SDL_DisableScreenSaver(void)

Code Examples

You can add your code example here

Remarks

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


CategoryAPI, CategoryVideo

None: SDL_DisableScreenSaver (last edited 2019-01-26 14:35:15 by haxpor)

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