aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti2008-07-30 16:59:49 +0000
committerVicent Marti2008-07-30 16:59:49 +0000
commit01cf9174b1ea896b5dc7ddc8ec560ca1bd4de4f4 (patch)
tree3e5eefb702941a584b9170426a1f336e11049306
parentc84386b4be4a0d8b9d8cd901e3d4bcbb67481832 (diff)
downloadscummvm-rg350-01cf9174b1ea896b5dc7ddc8ec560ca1bd4de4f4.tar.gz
scummvm-rg350-01cf9174b1ea896b5dc7ddc8ec560ca1bd4de4f4.tar.bz2
scummvm-rg350-01cf9174b1ea896b5dc7ddc8ec560ca1bd4de4f4.zip
Bugfix: Pixel init in Conolution mappings
svn-id: r33460
-rw-r--r--graphics/VectorRenderer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/VectorRenderer.cpp b/graphics/VectorRenderer.cpp
index a708d5ac1f..5ac976c251 100644
--- a/graphics/VectorRenderer.cpp
+++ b/graphics/VectorRenderer.cpp
@@ -178,6 +178,8 @@ areaConvolution(const Common::Rect &area, const int filter[3][3], int filterDiv,
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);