[Scummvm-cvs-logs] SF.net SVN: scummvm:[53332] scummvm/trunk/engines/sword25/gfx/opengl/ glimage.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Wed Oct 13 01:41:57 CEST 2010
Revision: 53332
http://scummvm.svn.sourceforge.net/scummvm/?rev=53332&view=rev
Author: sev
Date: 2010-10-12 23:41:57 +0000 (Tue, 12 Oct 2010)
Log Message:
-----------
SWORD25: Initialise image data block in constructor
Modified Paths:
--------------
scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp
Modified: scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp
===================================================================
--- scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp 2010-10-12 23:41:36 UTC (rev 53331)
+++ scummvm/trunk/engines/sword25/gfx/opengl/glimage.cpp 2010-10-12 23:41:57 UTC (rev 53332)
@@ -100,6 +100,7 @@
_height(height) {
_data = new byte[width * height * 4];
+ Common::set_to(_data, &_data[width * height * 4], 0);
_backSurface = (static_cast<GraphicEngine *>(Kernel::GetInstance()->GetService("gfx")))->getSurface();
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