[Scummvm-cvs-logs] SF.net SVN: scummvm:[53271] scummvm/trunk/engines/sword25/gfx/opengl/ glimage.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Wed Oct 13 01:11:19 CEST 2010


Revision: 53271
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53271&view=rev
Author:   sev
Date:     2010-10-12 23:11:18 +0000 (Tue, 12 Oct 2010)

Log Message:
-----------
SWORD25: Fix stupid error in Blit(). Now it shows stuff!

Modified Paths:
--------------
    scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp

Modified: scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp
===================================================================
--- scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp	2010-10-12 23:10:57 UTC (rev 53270)
+++ scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp	2010-10-12 23:11:18 UTC (rev 53271)
@@ -224,10 +224,10 @@
 			if (*in != 255)
 				alphawarn = true;
 
-			*in++ = *out++; // TODO: alpha blending
-			*in++ = *out++;
-			*in++ = *out++;
-			*in++ = *out++;
+			*out++ = *in++; // TODO: alpha blending
+			*out++ = *in++;
+			*out++ = *in++;
+			*out++ = *in++;
 		}
 		outo += _backSurface->pitch;
 		ino += m_Width * 4;


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