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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Sep 20 18:10:30 CEST 2008


Revision: 34617
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34617&view=rev
Author:   fingolfin
Date:     2008-09-20 16:10:29 +0000 (Sat, 20 Sep 2008)

Log Message:
-----------
Fix for bug #2120602: 5ALL: Starting the launcher with -f triggers assertion

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-09-20 16:07:00 UTC (rev 34616)
+++ scummvm/trunk/backends/platform/sdl/graphics.cpp	2008-09-20 16:10:29 UTC (rev 34617)
@@ -692,7 +692,7 @@
 void OSystem_SDL::setFullscreenMode(bool enable) {
 	Common::StackLock lock(_graphicsMutex);
 
-	if (_fullscreen != enable || _transactionMode == kTransactionCommit) {
+	if (_fullscreen != enable && _transactionMode == kTransactionCommit) {
 		assert(_hwscreen != 0);
 		_fullscreen = enable;
 


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