[Scummvm-cvs-logs] SF.net SVN: scummvm:[33460] scummvm/branches/gsoc2008-gui/graphics/ VectorRenderer.cpp

Tanoku at users.sourceforge.net Tanoku at users.sourceforge.net
Wed Jul 30 18:59:51 CEST 2008


Revision: 33460
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33460&view=rev
Author:   Tanoku
Date:     2008-07-30 16:59:49 +0000 (Wed, 30 Jul 2008)

Log Message:
-----------
Bugfix: Pixel init in Conolution mappings

Modified Paths:
--------------
    scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp

Modified: scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp	2008-07-30 16:26:38 UTC (rev 33459)
+++ scummvm/branches/gsoc2008-gui/graphics/VectorRenderer.cpp	2008-07-30 16:59:49 UTC (rev 33460)
@@ -178,6 +178,8 @@
 	
 	for (int y = area.top; y < area.bottom; ++y) {
 		for (int x = area.left; x < area.right; ++x) {
+			newR = newG = newB = 0;
+
 			for (int j = 0; j < 3; ++j) {
 				yVal = MIN(MAX(y - 1 + j, 0), area.bottom - 1);
 				


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