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" )