fixed pointer problems and guard in material files

This commit is contained in:
Thomas Fischer 2013-06-30 17:47:43 +02:00
parent 95ef5ec226
commit 688e54cb43
3 changed files with 5 additions and 5 deletions

View file

@ -242,7 +242,7 @@ void MatInstance::construct()
{
mUserObject = NULL;
mCurPass = -1;
mProcessedMaterial = false;
mProcessedMaterial = NULL;
mVertexFormat = NULL;
mMaxStages = 1;
mActiveParameters = NULL;