From c0168fabed24e9089b47895475c7030925cbf399 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 16 Jun 2006 13:45:29 +0000 Subject: glPush/PopAttrib fix (bug 6891) --- src/glu/sgi/libnurbs/interface/glsurfeval.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/glu/sgi') diff --git a/src/glu/sgi/libnurbs/interface/glsurfeval.cc b/src/glu/sgi/libnurbs/interface/glsurfeval.cc index cb2cf8ee0be..a36b304508c 100644 --- a/src/glu/sgi/libnurbs/interface/glsurfeval.cc +++ b/src/glu/sgi/libnurbs/interface/glsurfeval.cc @@ -779,8 +779,8 @@ OpenGLSurfaceEvaluator::bgnmap2f(long) else auto_normal_flag = 0; */ + glPushAttrib((GLbitfield) GL_EVAL_BIT); - //NEWCALLBACK: no need to worry about gl states when gling clalback } else { @@ -842,12 +842,12 @@ OpenGLSurfaceEvaluator::endmap2f(void) bezierPatchMeshListDelete(global_bpm); global_bpm = NULL; #endif - + glPopAttrib(); } else { #ifndef USE_LOD -glPopAttrib(); + glPopAttrib(); #endif #ifdef STATISTICS -- cgit v1.2.3