From 9593a199d7a1131614646b5a54f1520de6f83fc0 Mon Sep 17 00:00:00 2001
From: totaam <antoine@xpra.org>
Date: Fri, 17 Nov 2023 17:27:04 +0700
Subject: [PATCH] #2467 disable opengl on MacOS until it is fixed

---
 setup.py               | 2 +-
 xpra/scripts/config.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 8a9acca46d..10f2032e1b 100755
--- a/setup.py
+++ b/setup.py
@@ -1088,7 +1088,7 @@ def pretty_cmd(cmd):
         'printing'              : bstr(printing_ENABLED),
         'dbus_control'          : bstr(dbus_ENABLED),
         'mmap'                  : bstr(True),
-        'opengl'                : "probe",
+        'opengl'                : "no" if OSX else "probe",
         'headerbar'             : ["auto", "no"][OSX or WIN32],
         }
     def convert_templates(subdirs):
diff --git a/xpra/scripts/config.py b/xpra/scripts/config.py
index 3393905b45..7b467682bb 100755
--- a/xpra/scripts/config.py
+++ b/xpra/scripts/config.py
@@ -1092,7 +1092,7 @@ def get_defaults() -> dict[str, Any]:
                     "av-sync"           : True,
                     "exit-ssh"          : True,
                     "dbus-control"      : not WIN32 and not OSX,
-                    "opengl"            : "probe",
+                    "opengl"            : "no" if OSX else "probe",
                     "mdns"              : not WIN32,
                     "swap-keys"         : OSX,  # only used on osx
                     "desktop-fullscreen": False,