after glPopAttrib(), set m_attributesPushed = false
git-svn-id: svn://anubis/misc/wfobj-view@34 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
parent
681dbf4ab6
commit
affd61f6be
@ -14,7 +14,7 @@
|
||||
using namespace std;
|
||||
|
||||
#define WHITESPACE " \n\r\t\v"
|
||||
// #define DEBUGGL
|
||||
#define DEBUGGL
|
||||
|
||||
/****** static functions ******/
|
||||
|
||||
@ -534,6 +534,7 @@ void WFMtl::renderEnd(const string & mtlname)
|
||||
cout << " glPopAttrib()" << endl;
|
||||
#endif
|
||||
glPopAttrib();
|
||||
m_attributesPushed = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user