Browse Source

Merge pull request #69483 from akien-mga/openxr-3d-only

SCons: Disable openxr module with disable_3d=yes
Rémi Verschelde 2 years ago
parent
commit
23c58be800
1 changed files with 1 additions and 1 deletions
  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