[Scummvm-cvs-logs] SF.net SVN: scummvm:[42351] scummvm/branches/gsoc2009-16bit/backends/ platform/sdl/graphics.cpp

upthorn at users.sourceforge.net upthorn at users.sourceforge.net
Fri Jul 10 21:56:40 CEST 2009


Revision: 42351
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42351&view=rev
Author:   upthorn
Date:     2009-07-10 19:56:40 +0000 (Fri, 10 Jul 2009)

Log Message:
-----------
Whoops, and one more.

Modified Paths:
--------------
    scummvm/branches/gsoc2009-16bit/backends/platform/sdl/graphics.cpp

Modified: scummvm/branches/gsoc2009-16bit/backends/platform/sdl/graphics.cpp
===================================================================
--- scummvm/branches/gsoc2009-16bit/backends/platform/sdl/graphics.cpp	2009-07-10 19:55:06 UTC (rev 42350)
+++ scummvm/branches/gsoc2009-16bit/backends/platform/sdl/graphics.cpp	2009-07-10 19:56:40 UTC (rev 42351)
@@ -274,7 +274,7 @@
 	}
 
 	for (int i = 0; i < listLength; i++) {
-		if (RGBList[i].bytesPerPixel > format.bytesPerPixel)
+		if (inited && (RGBList[i].bytesPerPixel > format.bytesPerPixel))
 			continue;
 		if (BGR) {
 			if (BGRList[i] != format)


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