Skip to content
Snippets Groups Projects
Commit 7e2b618f authored by Cory Quammen's avatar Cory Quammen
Browse files

Remove direct disable of GL_SCISSOR_TEST

The vtkOpenGLState for GL_SCISSOR_TEST could be modified elsewhere. If
it was enabled in the state object, then invoking
glDisable(GL_SCISSOR_TEST) directly prior to setting the value in the
OpenGL state would cause a warning to be thrown with every render
because the cached state no longer reflected the OpenGL
state. Moreover, the direct call was redundant as the vtkOpenGLState
object will make the direct call as needed.
parent d43b072d
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment