rbdlsim/3rdparty/imgui/examples/example_emscripten
Martin Felis 8c618f89f0 Boilerplate code for GLFW based OpenGL window 2020-10-16 11:09:35 +02:00
..
Makefile Boilerplate code for GLFW based OpenGL window 2020-10-16 11:09:35 +02:00
README.md Boilerplate code for GLFW based OpenGL window 2020-10-16 11:09:35 +02:00
main.cpp Boilerplate code for GLFW based OpenGL window 2020-10-16 11:09:35 +02:00
shell_minimal.html Boilerplate code for GLFW based OpenGL window 2020-10-16 11:09:35 +02:00

README.md

How to Build

How to Run

To run on a local machine:

Obsolete features:

  • Emscripten 2.0 (August 2020) obsoleted the fastcomp backend, only llvm is supported.
  • Emscripten 1.39.0 (October 2019) obsoleted the BINARYEN_TRAP_MODE=clamp compilation flag which was required with version older than 1.39.0 to avoid rendering artefacts. See #2877 for details. If you use an older version, uncomment this line in the Makefile: #EMS += -s BINARYEN_TRAP_MODE=clamp