BACKENDS: Allow the screensaver to turn on when ScummVM is running

This commit is contained in:
mataniko 2020-05-09 19:46:29 -04:00
parent 4b4b73dff9
commit dbf404b786

View file

@ -150,6 +150,9 @@ void OSystem_SDL::init() {
// Disable OS cursor
SDL_ShowCursor(SDL_DISABLE);
// Allow the screen to turn off
SDL_EnableScreenSaver();
// Creates the early needed managers, if they don't exist yet
// (we check for this to allow subclasses to provide their own).
if (_mutexManager == 0)