Merge pull request #118780 from dsnopek/webxr-proxy-to-pthread2

Disable the WebXR module if `proxy_to_pthread` is enabled
This commit is contained in:
Thaddeus Crews committed 2026-04-20 14:32:00 -05:00
commit bee85a1057
1 file changed
+4
+4
View File
@@ -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"]