Skip to content

Commit

Permalink
The SDL bug workaround doesn't work in Emscripten, because Emscripten…
Browse files Browse the repository at this point in the history
… changes the buffer size. This excessively-large memory usage has to stay until SDL 2.0.6 finds its way into Emscripten.
  • Loading branch information
SolraBizna committed Jul 26, 2017
1 parent 97f1c18 commit dd48add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/target/Emscripten.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CXXFLAGS_RELEASE=$(CFLAGS_RELEASE)
# Flags passed to the linker.
LDFLAGS_RELEASE=-O3 -flto
# Libraries.
LIBS=../ars-emscripten-libs/ars-emscripten-libs.bc -s USE_SDL=2 -s TOTAL_MEMORY=16777216
LIBS=../ars-emscripten-libs/ars-emscripten-libs.bc -s USE_SDL=2 -s TOTAL_MEMORY=134217728

# Extension for executables.
EXE=.js

0 comments on commit dd48add

Please sign in to comment.