aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorNicola Mettifogo2007-08-06 21:58:25 +0000
committerNicola Mettifogo2007-08-06 21:58:25 +0000
commitc60fc2202f463c5130361f663d4c8dc5ca77c5bf (patch)
treea2189d06b2ff57f219189dbb2f9981e771ef0ab3 /engines
parente5e353d89c243623d4f0fa71c60b6f35e28a9b73 (diff)
downloadscummvm-rg350-c60fc2202f463c5130361f663d4c8dc5ca77c5bf.tar.gz
scummvm-rg350-c60fc2202f463c5130361f663d4c8dc5ca77c5bf.tar.bz2
scummvm-rg350-c60fc2202f463c5130361f663d4c8dc5ca77c5bf.zip
Made sure mask buffer is zeroed to prevent bizarre artifacts.
svn-id: r28477
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h
index a820436aa2..66eb5b9f39 100644
--- a/engines/parallaction/graphics.h
+++ b/engines/parallaction/graphics.h
@@ -171,7 +171,7 @@ public:
internalWidth = w >> 2;
h = height;
size = (internalWidth * h);
- data = (byte*)malloc(size);
+ data = (byte*)calloc(size, 1);
}
void free() {