summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glu/sgi/libnurbs/interface/glsurfeval.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glu/sgi/libnurbs/interface/glsurfeval.cc b/src/glu/sgi/libnurbs/interface/glsurfeval.cc
index cb2cf8ee0b..a36b304508 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