[Scummvm-cvs-logs] SF.net SVN: scummvm:[35443] scummvm/trunk/backends/platform/sdl/graphics. cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Fri Dec 19 18:54:46 CET 2008


Revision: 35443
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35443&view=rev
Author:   eriktorbjorn
Date:     2008-12-19 17:54:45 +0000 (Fri, 19 Dec 2008)

Log Message:
-----------
Allow changing the scaler using hotkeys again. I hope this is the correct way
of fixing it. (I've added a final case to endGFXTransaction for when the screen
just needs to be updated, without any changes in mode or size.)

Modified Paths:
--------------
    scummvm/trunk/backends/platform/sdl/graphics.cpp

Modified: scummvm/trunk/backends/platform/sdl/graphics.cpp
===================================================================
--- scummvm/trunk/backends/platform/sdl/graphics.cpp	2008-12-19 17:31:14 UTC (rev 35442)
+++ scummvm/trunk/backends/platform/sdl/graphics.cpp	2008-12-19 17:54:45 UTC (rev 35443)
@@ -170,6 +170,9 @@
 			if (_transactionDetails.needUpdatescreen)
 				internUpdateScreen();
 		}
+	} else if (_transactionDetails.needUpdatescreen) {
+		setGraphicsModeIntern();
+		internUpdateScreen();
 	}
 
 	_transactionMode = kTransactionNone;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list