web resize canvas after init

This commit is contained in:
2019-10-11 16:48:45 +02:00
parent babbfb36a7
commit 70ae003c08
2 changed files with 4 additions and 1 deletions

View File

@@ -104,7 +104,9 @@ set_target_properties(panopainter PROPERTIES
-s FULL_ES3=1\
-s USE_PTHREADS=1\
-s ASSERTIONS=2\
-s TOTAL_MEMORY=256Mb\
-s TOTAL_MEMORY=512Mb\
-s ALLOW_MEMORY_GROWTH=1\
-s WASM_MEM_MAX=2048MB\
--embed-file data\
--js-library ../src/mylib.js\
--bind"