Commit 441b0d3a authored by Mathieu Westphal's avatar Mathieu Westphal Committed by Kitware Robot

Merge topic 'remove-warning-qtnative'

60989d5e Suppress a warning popup when using QVTKOpenGLNativeWidget
Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: Mathieu Westphal's avatarMathieu Westphal <>
Merge-request: !4679
parents 80633bad 60989d5e
......@@ -529,8 +529,8 @@ void QVTKOpenGLNativeWidget::paintGL()
f->glBindFramebuffer(GL_READ_FRAMEBUFFER, this->FBO->handle());
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,
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