pushing attributes for GL_ENABLE_BIT

git-svn-id: svn://anubis/misc/wfobj@211 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
josh 2009-11-16 03:23:57 +00:00
parent 4a11b8f621
commit d69b65e95f

View File

@ -612,9 +612,9 @@ void WFObj::WFMtl::pushAttributes()
return;
m_attributesPushed = true;
#ifdef DEBUGGL
cout << " glPushAttrib(GL_LIGHTING_BIT | GL_TEXTURE_BIT)" << endl;
cout << " glPushAttrib(GL_LIGHTING_BIT | GL_TEXTURE_BIT | GL_ENABLE_BIT)" << endl;
#endif
glPushAttrib(GL_LIGHTING_BIT | GL_TEXTURE_BIT);
glPushAttrib(GL_LIGHTING_BIT | GL_TEXTURE_BIT | GL_ENABLE_BIT);
}
void WFObj::WFMtl::renderEnd(const string & mtlname, bool doTextureInfo)