summaryrefslogtreecommitdiffstats
path: root/platform/web/detect.py
diff options
context:
space:
mode:
authorTrashguy <trashguy@gmail.com>2024-10-11 12:21:42 -0400
committerSpartan322 <Megacake1234@gmail.com>2024-10-13 15:05:24 -0400
commit9901f655fb46bd345770ad5f4a1638c4051b1816 (patch)
treebb22b4881145f122568c8f2e51e912078ad1b4fc /platform/web/detect.py
parent6699ae7897658e44efc3cfb2cba91c11a8f5aa6a (diff)
downloadredot-engine-9901f655fb46bd345770ad5f4a1638c4051b1816.tar.gz
Rebrand Godot 4.3 to Redot
Diffstat (limited to 'platform/web/detect.py')
-rw-r--r--platform/web/detect.py6
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'"])