|
@@ -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"])
|