Remove un-necessary GL command that seemed to cause rendering artifacts.

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5372 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
mrlukeparry 2011-12-31 20:01:24 +00:00
parent 984ce43fb5
commit 20f8a50909

View File

@ -241,9 +241,6 @@ void SoDatumLabel::GLRender(SoGLRenderAction * action)
state->push();
glPixelStorei(GL_UNPACK_ROW_LENGTH, srcw);
glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
glPushAttrib(GL_ENABLE_BIT | GL_PIXEL_MODE_BIT | GL_COLOR_BUFFER_BIT);
glDisable(GL_LIGHTING);
glEnable(GL_DEPTH_TEST);
@ -282,7 +279,7 @@ void SoDatumLabel::GLRender(SoGLRenderAction * action)
glEnd();
// Reset the Mode
glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
glPopAttrib();
state->pop();
}