]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
[CEA 24030] ParaView 5.9: fixing a problem with Viewer background transparency
authorrnv <rnv@opencascade.com>
Fri, 2 Apr 2021 02:28:59 +0000 (05:28 +0300)
committerrnv <rnv@opencascade.com>
Fri, 2 Apr 2021 12:01:10 +0000 (15:01 +0300)
src/VTKViewer/VTKViewer_OpenGLRenderer.cxx

index f0af96f5078815b76d24aac4ab7ce6fb5efc4a52..d6eb0e78a7862a3d9e1ec24f3d3d7395de637f42 100644 (file)
@@ -112,7 +112,7 @@ void VTKViewer_OpenGLRenderer::Clear(void)
     glClearColor( static_cast<GLclampf>(this->Background[0]),
                   static_cast<GLclampf>(this->Background[1]),
                   static_cast<GLclampf>(this->Background[2]),
-                  static_cast<GLclampf>(0.0));
+                  static_cast<GLclampf>(1.0));
     clear_mask |= GL_COLOR_BUFFER_BIT;
   }