summaryrefslogtreecommitdiff
path: root/modules/webxr/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/webxr/config.py')
-rw-r--r--modules/webxr/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webxr/config.py b/modules/webxr/config.py
index f676ef3483..8d75e7f531 100644
--- a/modules/webxr/config.py
+++ b/modules/webxr/config.py
@@ -1,5 +1,5 @@
def can_build(env, platform):
- return not env["disable_3d"]
+ return env["opengl3"] and not env["disable_3d"]
def configure(env):