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:
parent
984ce43fb5
commit
20f8a50909
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user