From affd61f6be08210e1411c2c8d10858b4f91a0345 Mon Sep 17 00:00:00 2001 From: josh Date: Thu, 31 Jan 2008 04:17:33 +0000 Subject: [PATCH] after glPopAttrib(), set m_attributesPushed = false git-svn-id: svn://anubis/misc/wfobj-view@34 bd8a9e45-a331-0410-811e-c64571078777 --- wfobj/WFObj.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wfobj/WFObj.cc b/wfobj/WFObj.cc index c091f15..e56285d 100644 --- a/wfobj/WFObj.cc +++ b/wfobj/WFObj.cc @@ -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; } }