diff --git a/packages/ecs/Makefile b/packages/ecs/Makefile index ce863f6..29288ae 100644 --- a/packages/ecs/Makefile +++ b/packages/ecs/Makefile @@ -12,7 +12,7 @@ WASM_NAME = $(OUT_DIR)/$(NAME).wasm TS_NAME = $(NAME).d.ts CFLAGS = -std=c++20 -LDFLAGS = -O3 --no-entry --bind -sNO_DISABLE_EXCEPTION_CATCHING -sEXPORT_EXCEPTION_HANDLING_HELPERS +LDFLAGS = -O3 --no-entry --bind -sNO_DISABLE_EXCEPTION_CATCHING -sEXPORT_EXCEPTION_HANDLING_HELPERS -s ALLOW_MEMORY_GROWTH CC = em++ diff --git a/packages/graphics-2d/src/components/component.ts b/packages/graphics-2d/src/components/component.ts index 23e4f97..353a165 100644 --- a/packages/graphics-2d/src/components/component.ts +++ b/packages/graphics-2d/src/components/component.ts @@ -63,7 +63,6 @@ export abstract class NfgComponent { this._core.initContext.canvas.width, this._core.initContext.canvas.height, ]); - console.log(this._core.initContext.canvas.width, this._core.initContext.canvas.height); if (!this._uniformBuffer) this._uniformBuffer = this._core.device.createBuffer({ label: "View Uniforms",