summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-12-05 15:45:31 -0800
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-12-05 15:45:31 -0800
commitd2afddb7e24c8ccbfbdd3c96f27cf3c927f5f5b7 (patch)
tree40c4bb6947af9ac515266a40e9db6311cc59d6f7 /example
parented4e8c36b064e653499b2987cedbd8c47796f807 (diff)
font: fix some JS memory leaks
Diffstat (limited to 'example')
-rw-r--r--example/app.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/app.ts b/example/app.ts
index 696d1d17a..4026bbc04 100644
--- a/example/app.ts
+++ b/example/app.ts
@@ -55,6 +55,7 @@ fetch(url.href).then(response =>
for (let i = 33; i <= 126; i++) {
face_render_glyph(face, atlas, i);
}
+ //face_render_glyph(face, atlas, "橋".codePointAt(0));
//face_render_glyph(face, atlas, "p".codePointAt(0));
// Debug our canvas