diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-19 14:26:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-19 14:26:43 +0400 |
commit | c3041ae7cda20c78040e7deea17530fe5f41029d (patch) | |
tree | 3190e3af2ab7f81833f379771f5fdcd8819bd635 /source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp | |
parent | e611c4756fa17c57855123dc2b5c2c2408b0d790 (diff) |
- fix for BGE warnings
- when C++ uses guardedalloc SYS_DeleteSystem was called after MEM_printmemlist(), making it look like there was a leak.
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp index cb5c5a12397..033daabc48f 100644 --- a/source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp +++ b/source/gameengine/Rasterizer/RAS_IPolygonMaterial.cpp @@ -70,7 +70,6 @@ void RAS_IPolyMaterial::Initialize( RAS_IPolyMaterial::RAS_IPolyMaterial() : m_texturename("__Dummy_Texture_Name__"), m_materialname("__Dummy_Material_Name__"), - m_materialindex(0), m_tile(0), m_tilexrep(0), m_tileyrep(0), @@ -78,6 +77,7 @@ RAS_IPolyMaterial::RAS_IPolyMaterial() m_transp(0), m_alpha(false), m_zsort(false), + m_materialindex(0), m_polymatid(0), m_flag(0), m_multimode(0) @@ -100,7 +100,6 @@ RAS_IPolyMaterial::RAS_IPolyMaterial(const STR_String& texname, bool zsort) : m_texturename(texname), m_materialname(matname), - m_materialindex(materialindex), m_tile(tile), m_tilexrep(tilexrep), m_tileyrep(tileyrep), @@ -108,6 +107,7 @@ RAS_IPolyMaterial::RAS_IPolyMaterial(const STR_String& texname, m_transp(transp), m_alpha(alpha), m_zsort(zsort), + m_materialindex(materialindex), m_polymatid(m_newpolymatid++), m_flag(0), m_multimode(0) |