pushing attributes for GL_ENABLE_BIT
git-svn-id: svn://anubis/misc/wfobj@211 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
1 parent
4a11b8f621
commit
d69b65e95f
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user