Merge pull request #108714 from adamscott/fix-gdscript-language-server-web

[Web] Disable GDScript LSP
This commit is contained in:
Thaddeus Crews 2025-07-18 11:05:11 -05:00
commit 0b4e26179d
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -330,3 +330,6 @@ def configure(env: "SConsEnvironment"):
# This workaround creates a closure that prevents the garbage collector from freeing the WebGL context.
# We also only use WebGL2, and changing context version is not widely supported anyway.
env.Append(LINKFLAGS=["-sGL_WORKAROUND_SAFARI_GETCONTEXT_BUG=0"])
# Disable GDScript LSP (as the Web platform is not compatible with TCP).
env.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])