mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-26 05:27:01 +00:00
example_emscripten: skip outdated compiler option
For more info see: https://github.com/ocornut/imgui/issues/2877
This commit is contained in:
parent
bff2d5d5e2
commit
916487a653
@ -22,9 +22,11 @@ OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
|
|||||||
UNAME_S := $(shell uname -s)
|
UNAME_S := $(shell uname -s)
|
||||||
|
|
||||||
EMS = -s USE_SDL=2 -s WASM=1
|
EMS = -s USE_SDL=2 -s WASM=1
|
||||||
EMS += -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN_TRAP_MODE=clamp
|
EMS += -s ALLOW_MEMORY_GROWTH=1
|
||||||
EMS += -s DISABLE_EXCEPTION_CATCHING=1 -s NO_EXIT_RUNTIME=0
|
EMS += -s DISABLE_EXCEPTION_CATCHING=1 -s NO_EXIT_RUNTIME=0
|
||||||
EMS += -s ASSERTIONS=1
|
EMS += -s ASSERTIONS=1
|
||||||
|
# Uncomment next line to fix possible rendering bugs with emscripten version older then 1.39.0 (https://github.com/ocornut/imgui/issues/2877)
|
||||||
|
#EMS += -s BINARYEN_TRAP_MODE=clamp
|
||||||
#EMS += -s NO_FILESYSTEM=1 ## Getting "error: undefined symbol: $FS" if filesystem is removed
|
#EMS += -s NO_FILESYSTEM=1 ## Getting "error: undefined symbol: $FS" if filesystem is removed
|
||||||
#EMS += -s SAFE_HEAP=1 ## Adds overhead
|
#EMS += -s SAFE_HEAP=1 ## Adds overhead
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user