[Scummvm-cvs-logs] SF.net SVN: scummvm:[34533] scummvm/trunk/engines/kyra/screen.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Sep 14 21:05:06 CEST 2008


Revision: 34533
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34533&view=rev
Author:   lordhoto
Date:     2008-09-14 19:05:05 +0000 (Sun, 14 Sep 2008)

Log Message:
-----------
Fix potentional bug in Screen::setResolution.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/screen.cpp

Modified: scummvm/trunk/engines/kyra/screen.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen.cpp	2008-09-14 18:59:43 UTC (rev 34532)
+++ scummvm/trunk/engines/kyra/screen.cpp	2008-09-14 19:05:05 UTC (rev 34533)
@@ -188,19 +188,19 @@
 
 	if (_vm->gameFlags().useHiResOverlay) {
 		_system->beginGFXTransaction();
-			_vm->initCommonGFX(true);
 			if (_debugEnabled)
 				_system->initSize(960, 400);
 			else
 				_system->initSize(640, 400);
+			_vm->initCommonGFX(true);
 		_system->endGFXTransaction();
 	} else {
 		_system->beginGFXTransaction();
-			_vm->initCommonGFX(false);
 			if (_debugEnabled)
 				_system->initSize(640, 200);
 			else
 				_system->initSize(320, 200);
+			_vm->initCommonGFX(false);
 		_system->endGFXTransaction();
 	}
 


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