Commit cd66502f authored by hybrid's avatar hybrid

Minor init fix.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2378 dfc29bdd-3216-0410-991c-e03cc46cb475
parent bff880b4
......@@ -33,7 +33,7 @@ public:
struct SMeshChunk : public scene::CMeshBuffer<T>
{
SMeshChunk ()
: scene::CMeshBuffer<T>()
: scene::CMeshBuffer<T>(), MaterialId(0)
{
scene::CMeshBuffer<T>::grab();
}
......@@ -41,7 +41,6 @@ public:
virtual ~SMeshChunk ()
{
//removeAllHardwareBuffers
MaterialId = 0;
}
s32 MaterialId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment