Salome HOME
Fix the problem with update of the OCCT 3D Viewer: synchronize the visual state of...
[modules/gui.git] / src / Qtx / Qtx.cxx
index 07a665e545e903db70bcf6270b01775a0acfa389..43f258ffabb68fce85474ef7e8d0f3cbd4be5725 100755 (executable)
@@ -2041,6 +2041,7 @@ Qt::HANDLE Qtx::getVisual()
     GLX_RGBA,           // Needs to support OpenGL
     GLX_DEPTH_SIZE, 16, // Needs to support a 16 bit depth buffer
     GLX_DOUBLEBUFFER,   // Needs to support double-buffering
+    GLX_STENCIL_SIZE, 1,
     None                // end of list
   };