1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

Examples: SDL3+OpenGL3: fixed Emscripten makefile + ignore list.

Can't get this to run however.
This commit is contained in:
ocornut 2025-10-29 14:21:43 +01:00
parent 40f9e4e8e2
commit 2a229c8cb8
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -46,6 +46,7 @@ examples/example_glfw_opengl3/web/*
examples/example_glfw_wgpu/web/* examples/example_glfw_wgpu/web/*
examples/example_glfw_wgpu/external/* examples/example_glfw_wgpu/external/*
examples/example_sdl2_opengl3/web/* examples/example_sdl2_opengl3/web/*
examples/example_sdl3_opengl3/web/*
## JetBrains IDE artifacts ## JetBrains IDE artifacts
.idea .idea

View file

@ -36,7 +36,7 @@ EMS =
##--------------------------------------------------------------------- ##---------------------------------------------------------------------
# ("EMS" options gets added to both CPPFLAGS and LDFLAGS, whereas some options are for linker only) # ("EMS" options gets added to both CPPFLAGS and LDFLAGS, whereas some options are for linker only)
EMS += -s USE_SDL=2 EMS += -s USE_SDL=3
EMS += -s DISABLE_EXCEPTION_CATCHING=1 EMS += -s DISABLE_EXCEPTION_CATCHING=1
LDFLAGS += -s WASM=1 -s ALLOW_MEMORY_GROWTH=1 -s NO_EXIT_RUNTIME=0 -s ASSERTIONS=1 LDFLAGS += -s WASM=1 -s ALLOW_MEMORY_GROWTH=1 -s NO_EXIT_RUNTIME=0 -s ASSERTIONS=1