diff --git a/modules/webxr/config.py b/modules/webxr/config.py index 357dcde0b6..a80a6a94f0 100644 --- a/modules/webxr/config.py +++ b/modules/webxr/config.py @@ -1,4 +1,8 @@ def can_build(env, platform): + if platform == "web": + # WebXR is incompatible with proxy_to_pthread. + return not env["proxy_to_pthread"] + return env["opengl3"] and not env["disable_xr"]