|
Size: 648
Comment:
|
Size: 579
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.
