[Scummvm-cvs-logs] SF.net SVN: scummvm: [28477] scummvm/trunk/engines/parallaction/graphics.h
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Mon Aug 6 23:58:26 CEST 2007
Revision: 28477
http://scummvm.svn.sourceforge.net/scummvm/?rev=28477&view=rev
Author: peres001
Date: 2007-08-06 14:58:25 -0700 (Mon, 06 Aug 2007)
Log Message:
-----------
Made sure mask buffer is zeroed to prevent bizarre artifacts.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/graphics.h
Modified: scummvm/trunk/engines/parallaction/graphics.h
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.h 2007-08-06 20:24:05 UTC (rev 28476)
+++ scummvm/trunk/engines/parallaction/graphics.h 2007-08-06 21:58:25 UTC (rev 28477)
@@ -171,7 +171,7 @@
internalWidth = w >> 2;
h = height;
size = (internalWidth * h);
- data = (byte*)malloc(size);
+ data = (byte*)calloc(size, 1);
}
void free() {
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