mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix using emscripten 3.1.27+
emscripten 3.1.27 reduced the stack size from 5MB to 64KB. This caused run-time errors: Uncaught RuntimeError: index out of bounds Co-authored-by: James Darpinian <jdarpinian@gmail.com>
This commit is contained in:
parent
6f5c038947
commit
17cadb5369
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1062,7 +1062,7 @@ ifeq ($(PLATFORM),emscripten)
|
|||
USE_RENDERER_DLOPEN=0
|
||||
|
||||
BASE_CFLAGS=-fPIC -s USE_SDL=2
|
||||
LDFLAGS=-s TOTAL_MEMORY=256mb -s MAX_WEBGL_VERSION=2 --preload-file $(BASEGAME)
|
||||
LDFLAGS=-s STACK_SIZE=5MB -s TOTAL_MEMORY=256MB -s MAX_WEBGL_VERSION=2 --preload-file $(BASEGAME)
|
||||
OPTIMIZEVM = -O3
|
||||
OPTIMIZE = $(OPTIMIZEVM)
|
||||
|
||||
|
|
Loading…
Reference in a new issue