[Scummvm-cvs-logs] scummvm master -> 325addff0cd8fac98927ccedc1115f8da4dfdfaa
lordhoto
lordhoto at gmail.com
Fri Sep 23 19:52:10 CEST 2011
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:
325addff0c OPENGLSDL: Make fullscreen mode switching work again.
Commit: 325addff0cd8fac98927ccedc1115f8da4dfdfaa
https://github.com/scummvm/scummvm/commit/325addff0cd8fac98927ccedc1115f8da4dfdfaa
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-09-23T10:45:44-07:00
Commit Message:
OPENGLSDL: Make fullscreen mode switching work again.
Changed paths:
backends/graphics/openglsdl/openglsdl-graphics.cpp
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp
index 8451573..cfc78cf 100644
--- a/backends/graphics/openglsdl/openglsdl-graphics.cpp
+++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp
@@ -460,6 +460,10 @@ void OpenGLSdlGraphicsManager::toggleFullScreen(int loop) {
_activeFullscreenMode = -2;
setFullscreenMode(!isFullscreen);
}
+
+ // HACK: We need to force a refresh here, since we change the
+ // fullscreen mode.
+ _transactionDetails.needRefresh = true;
endGFXTransaction();
// Ignore resize events for the next 10 frames
More information about the Scummvm-git-logs
mailing list