summaryrefslogtreecommitdiff
path: root/modules/openxr/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openxr/config.py')
-rw-r--r--modules/openxr/config.py2
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