BACKENDS: Allow the screensaver to turn on when ScummVM is running
This commit is contained in:
parent
4b4b73dff9
commit
dbf404b786
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue