1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

[Web] Disable GDScript LSP

This commit is contained in:
Adam Scott
2025-07-18 10:39:24 -04:00
parent f92f1ce9c0
commit 8420468647

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. # 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. # We also only use WebGL2, and changing context version is not widely supported anyway.
env.Append(LINKFLAGS=["-sGL_WORKAROUND_SAFARI_GETCONTEXT_BUG=0"]) 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"])