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:
josh 2008-01-31 04:17:33 +00:00
parent 681dbf4ab6
commit affd61f6be

View File

@ -14,7 +14,7 @@
using namespace std; using namespace std;
#define WHITESPACE " \n\r\t\v" #define WHITESPACE " \n\r\t\v"
// #define DEBUGGL #define DEBUGGL
/****** static functions ******/ /****** static functions ******/
@ -534,6 +534,7 @@ void WFMtl::renderEnd(const string & mtlname)
cout << " glPopAttrib()" << endl; cout << " glPopAttrib()" << endl;
#endif #endif
glPopAttrib(); glPopAttrib();
m_attributesPushed = false;
} }
} }