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 committed 2009-11-16 03:23:57 +00:00
1 parent 4a11b8f621
commit d69b65e95f
1 file changed
+2 -2
+2 -2
View File
@@ -612,9 +612,9 @@ void WFObj::WFMtl::pushAttributes()
return; return;
m_attributesPushed = true; m_attributesPushed = true;
#ifdef DEBUGGL #ifdef DEBUGGL
cout << " glPushAttrib(GL_LIGHTING_BIT | GL_TEXTURE_BIT)" << endl; cout << " glPushAttrib(GL_LIGHTING_BIT | GL_TEXTURE_BIT | GL_ENABLE_BIT)" << endl;
#endif #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) void WFObj::WFMtl::renderEnd(const string & mtlname, bool doTextureInfo)