[Scummvm-git-logs] scummvm master -> dbf404b78605b35a2c297c1bf6643fee0d31e460
Mataniko
mataniko at gmail.com
Sat May 9 23:46:51 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
dbf404b786 BACKENDS: Allow the screensaver to turn on when ScummVM is running
Commit: dbf404b78605b35a2c297c1bf6643fee0d31e460
https://github.com/scummvm/scummvm/commit/dbf404b78605b35a2c297c1bf6643fee0d31e460
Author: mataniko (mataniko at gmail.com)
Date: 2020-05-09T19:46:29-04:00
Commit Message:
BACKENDS: Allow the screensaver to turn on when ScummVM is running
Changed paths:
backends/platform/sdl/sdl.cpp
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 3b11d8191c..8ca6ae6e07 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -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)
More information about the Scummvm-git-logs
mailing list