From a5760beb4e215dcd3587a7c186487d6917c23827 Mon Sep 17 00:00:00 2001 From: bjorn Date: Sat, 2 Sep 2017 17:31:20 -0700 Subject: [PATCH] Use ALLOW_MEMORY_GROWTH; --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 630e121b..f61c2158 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ if(EMSCRIPTEN) "-s USE_FREETYPE=1 " "-s USE_GLFW=3 " "-s USE_ZLIB=1 " - "-s TOTAL_MEMORY=134217728 " + "-s ALLOW_MEMORY_GROWTH=1 " "-s NO_EXIT_RUNTIME=1 " "-s WASM=1" )