From: rnv Date: Fri, 2 Apr 2021 02:28:59 +0000 (+0300) Subject: [CEA 24030] ParaView 5.9: fixing a problem with Viewer background transparency X-Git-Tag: V9_7_0a1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3ce01d3e5dd94a96f249fd81c6b37717b702d37d;p=modules%2Fgui.git [CEA 24030] ParaView 5.9: fixing a problem with Viewer background transparency --- diff --git a/src/VTKViewer/VTKViewer_OpenGLRenderer.cxx b/src/VTKViewer/VTKViewer_OpenGLRenderer.cxx index f0af96f50..d6eb0e78a 100644 --- a/src/VTKViewer/VTKViewer_OpenGLRenderer.cxx +++ b/src/VTKViewer/VTKViewer_OpenGLRenderer.cxx @@ -112,7 +112,7 @@ void VTKViewer_OpenGLRenderer::Clear(void) glClearColor( static_cast(this->Background[0]), static_cast(this->Background[1]), static_cast(this->Background[2]), - static_cast(0.0)); + static_cast(1.0)); clear_mask |= GL_COLOR_BUFFER_BIT; }