Selaa lähdekoodia

SCons: Disable openxr module with disable_3d=yes

Fixes #69470.
Rémi Verschelde 2 vuotta sitten
vanhempi
commit
75d5dfe591
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/openxr/config.py

+ 1 - 1
modules/openxr/config.py

@@ -1,6 +1,6 @@
 def can_build(env, platform):
     if platform in ("linuxbsd", "windows", "android"):
-        return env["openxr"]
+        return env["openxr"] and not env["disable_3d"]
     else:
         # not supported on these platforms
         return False