pushing attributes for GL_ENABLE_BIT
git-svn-id: svn://anubis/misc/wfobj@211 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
4a11b8f621
commit
d69b65e95f
4
WFObj.cc
4
WFObj.cc
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user