Explorar o código

SCons: Disable openxr module with disable_3d=yes

Fixes #69470.
Rémi Verschelde %!s(int64=2) %!d(string=hai) anos
pai
achega
75d5dfe591
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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