[Scummvm-cvs-logs] scummvm master -> d2a536ff89456c1f58afc4acb18a955e5b1a3612

lordhoto lordhoto at gmail.com
Mon Dec 10 19:28:06 CET 2012


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:
d2a536ff89 Revert "OPENGLSDL: Remove HACK in fullscreen toggle mode."


Commit: d2a536ff89456c1f58afc4acb18a955e5b1a3612
    https://github.com/scummvm/scummvm/commit/d2a536ff89456c1f58afc4acb18a955e5b1a3612
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2012-12-10T10:26:13-08:00

Commit Message:
Revert "OPENGLSDL: Remove HACK in fullscreen toggle mode."

This reverts commit b6f7d697090ca6f90d20f0f2d5661cc4c8b71bf2. This actually
breaks fullscreen mode cycling.

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 fed02ef..c5605ca 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