tree: 44a0dba912dc17ae58bd9890d9d0d123df075fdf [path history] [tgz]
  1. Makefile
  2. README.md
  3. main.cpp
  4. shell_minimal.html
examples/example_emscripten/README.md

How to Build

em++ -I.. -I../.. main.cpp ../imgui_impl_sdl.cpp ../imgui_impl_opengl3.cpp ../../imgui*.cpp -s USE_SDL=2 -s USE_WEBGL2=1 -s WASM=1 -s FULL_ES3=1 -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN_TRAP_MODE=clamp --shell-file shell_minimal.html -o example-emscripten.html