diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-02 12:24:58 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-02 12:24:58 +0100 |
commit | 23c58be800554b17858d573b3f8cbc9cbdb68dca (patch) | |
tree | 758401873dfe139c3e5cb19655db08c75e248990 /modules/openxr | |
parent | 7ef9947d0efecafdfc4817960d0777a432362436 (diff) | |
parent | 75d5dfe591fbab37198446d5c892ef442835ca5a (diff) |
Merge pull request #69483 from akien-mga/openxr-3d-only
SCons: Disable openxr module with disable_3d=yes
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 |