ソースを参照

SCons: Disable openxr module with disable_3d=yes

Fixes #69470.
Rémi Verschelde 2 年 前
コミット
75d5dfe591
1 ファイル変更1 行追加1 行削除
  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