diff options
author | Nicola Mettifogo | 2007-08-06 21:58:25 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-08-06 21:58:25 +0000 |
commit | c60fc2202f463c5130361f663d4c8dc5ca77c5bf (patch) | |
tree | a2189d06b2ff57f219189dbb2f9981e771ef0ab3 /engines | |
parent | e5e353d89c243623d4f0fa71c60b6f35e28a9b73 (diff) | |
download | scummvm-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.h | 2 |
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() { |