Wiki Page Content

Differences between revisions 8 and 9
Revision 8 as of 2016-06-10 19:57:47
Size: 632
Comment: Added Version section.
Revision 9 as of 2019-01-26 14:35:15
Size: 641
Editor: haxpor
Comment: example code is not necessary, and not really provide benefit. Remove but still stick to the old pattern of CODE EXAMPLES section
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
SDL_DisableScreenSaver(); You can add your code example here


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


void SDL_DisableScreenSaver(void)

Code Examples

You can add your code example here


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


This function is available since SDL 2.0.0.

CategoryAPI, CategoryVideo

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

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