SDL_EnableScreenSaver - Allow the screen to be blanked by a screen saver.
Contents
Availability
This function is available since SDL 3.2.0.
Name
SDL_EnableScreenSaver - Allow the screen to be blanked by a screen saver.
Return Value
for more information.
See Also
SDL_DisableScreenSaver(3), SDL_ScreenSaverEnabled(3) Simple Directmedia Layer SDL 3.2.20 SDL_EnableScreenSaver(3)
Synopsis
#include<SDL3/SDL_video.h>boolSDL_EnableScreenSaver(void);
Thread Safety
This function should only be called on the main thread.
