Skip to content

Commit e1a2fca

Browse files
authored
Merge pull request #26 from NanoForge-dev/fix/memory-growth
Fix/memory growth
2 parents dd5c48b + 89725be commit e1a2fca

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/ecs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ WASM_NAME = $(OUT_DIR)/$(NAME).wasm
1212
TS_NAME = $(NAME).d.ts
1313

1414
CFLAGS = -std=c++20
15-
LDFLAGS = -O3 --no-entry --bind -sNO_DISABLE_EXCEPTION_CATCHING -sEXPORT_EXCEPTION_HANDLING_HELPERS
15+
LDFLAGS = -O3 --no-entry --bind -sNO_DISABLE_EXCEPTION_CATCHING -sEXPORT_EXCEPTION_HANDLING_HELPERS -s ALLOW_MEMORY_GROWTH
1616

1717
CC = em++
1818

packages/graphics-2d/src/components/component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ export abstract class NfgComponent {
6363
this._core.initContext.canvas.width,
6464
this._core.initContext.canvas.height,
6565
]);
66-
console.log(this._core.initContext.canvas.width, this._core.initContext.canvas.height);
6766
if (!this._uniformBuffer)
6867
this._uniformBuffer = this._core.device.createBuffer({
6968
label: "View Uniforms",

0 commit comments

Comments
 (0)