]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF22374] : test on light laptop
authorAnthony Geay <anthony.geay@edf.fr>
Thu, 1 Apr 2021 05:20:25 +0000 (07:20 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Thu, 1 Apr 2021 05:20:25 +0000 (07:20 +0200)
bin/appliskel/salome_mesa

index 1c05f0867b3d9109f93010521eb7aa0be8952803..48f08fcb72e230fbfc198c17277e315cdac87f11 100644 (file)
@@ -32,6 +32,7 @@ import sys
 
 if __name__ == "__main__":
     import os
-    os.environ["XLIB_SKIP_ARGB_VISUALS"]="1"
+    if os.name != "posix":
+        os.environ["XLIB_SKIP_ARGB_VISUALS"]="1"
     os.environ["MESA_GL_VERSION_OVERRIDE"]="4.5"
     salome_common.main(sys.argv[1:])