diff options
Diffstat (limited to 'platform/web/detect.py')
-rw-r--r-- | platform/web/detect.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/web/detect.py b/platform/web/detect.py index bf75c2f9fc..d0a4bdb774 100644 --- a/platform/web/detect.py +++ b/platform/web/detect.py @@ -32,7 +32,7 @@ def get_opts(): return [ ("initial_memory", "Initial WASM memory (in MiB)", 32), - # Matches default values from before Emscripten 3.1.27. New defaults are too low for Godot. + # Matches default values from before Emscripten 3.1.27. New defaults are too low for Redot. ("stack_size", "WASM stack size (in KiB)", 5120), ("default_pthread_stack_size", "WASM pthread default stack size (in KiB)", 2048), BoolVariable("use_assertions", "Use Emscripten runtime assertions", False), @@ -278,8 +278,8 @@ def configure(env: "SConsEnvironment"): # Reduce code size by generating less support code (e.g. skip NodeJS support). env.Append(LINKFLAGS=["-sENVIRONMENT=web,worker"]) - # Wrap the JavaScript support code around a closure named Godot. - env.Append(LINKFLAGS=["-sMODULARIZE=1", "-sEXPORT_NAME='Godot'"]) + # Wrap the JavaScript support code around a closure named Redot. + env.Append(LINKFLAGS=["-sMODULARIZE=1", "-sEXPORT_NAME='Redot'"]) # Force long jump mode to 'wasm' env.Append(CCFLAGS=["-sSUPPORT_LONGJMP='wasm'"]) |