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:
1 file changed
+4
@@ -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"]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user