diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-02 11:40:24 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-02 11:40:24 +0100 |
commit | 75d5dfe591fbab37198446d5c892ef442835ca5a (patch) | |
tree | 274eaccf84afb6f4d2889c60d5b1bce5d80c42eb /modules/openxr | |
parent | 1e3919c409fa1f24db8ecde58f723fd59adfeccb (diff) |
SCons: Disable openxr module with disable_3d=yes
Fixes #69470.
Diffstat (limited to 'modules/openxr')
-rw-r--r-- | modules/openxr/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openxr/config.py b/modules/openxr/config.py index 279168cc59..e503f12739 100644 --- a/modules/openxr/config.py +++ b/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 |