Commit 60989d5e authored by Boris Basic's avatar Boris Basic

Suppress a warning popup when using QVTKOpenGLNativeWidget

parent d147a82a
......@@ -529,8 +529,8 @@ void QVTKOpenGLNativeWidget::paintGL()
f->glBindFramebuffer(GL_READ_FRAMEBUFFER, this->FBO->handle());
f->glReadBuffer(GL_COLOR_ATTACHMENT0);
f->glDisable(GL_SCISSOR_TEST); // Scissor affects glBindFramebuffer.
ostate->vtkglDisable(GL_SCISSOR_TEST); // Scissor affects glBindFramebuffer.
f->glDisable(GL_SCISSOR_TEST); // Scissor affects glBindFramebuffer.
f->glBlitFramebuffer(0, 0, this->RenderWindow->GetSize()[0], this->RenderWindow->GetSize()[1],
0, 0, this->RenderWindow->GetSize()[0], this->RenderWindow->GetSize()[1], GL_COLOR_BUFFER_BIT,
GL_NEAREST);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment