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

[Web] Optimize GL.getSource for known-length shader sources

This commit is contained in:
Marcos Casagrande
2025-04-20 01:07:02 +02:00
parent e37c6261ea
commit 197b307061
6 changed files with 79 additions and 4 deletions

View File

@@ -125,5 +125,9 @@ def add_js_pre(env, js_pre):
env.Append(JS_PRE=env.File(js_pre))
def add_js_post(env, js_post):
env.Append(JS_POST=env.File(js_post))
def add_js_externs(env, externs):
env.Append(JS_EXTERNS=env.File(externs))