Skip to content
Snippets Groups Projects
Commit 8e5bdafa authored by Lucas Gandel's avatar Lucas Gandel
Browse files

Do not reset scissors use after each render

parent 55ad443a
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,6 @@ void vtkOpenGLCamera::Render(vtkRenderer* ren)
{
ostate->vtkglScissor(this->ScissorRect.GetX(), this->ScissorRect.GetY(),
this->ScissorRect.GetWidth(), this->ScissorRect.GetHeight());
this->UseScissor = false;
}
else
{
......@@ -96,7 +95,6 @@ void vtkOpenGLCamera::UpdateViewport(vtkRenderer* ren)
{
ostate->vtkglScissor(this->ScissorRect.GetX(), this->ScissorRect.GetY(),
this->ScissorRect.GetWidth(), this->ScissorRect.GetHeight());
this->UseScissor = false;
}
else
{
......
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