Skip to content

Commit

Permalink
Restore USE_SDL_MIXER and USE_SDL_GFX
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed Nov 29, 2023
1 parent 6f96eae commit 1f1506e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ def phase_setup(options, state, newargs):

# SDL2 requires eglGetProcAddress() to work.
# NOTE: if SDL2 is updated to not rely on eglGetProcAddress(), this can be removed
if settings.USE_SDL == 2:
if settings.USE_SDL == 2 or settings.USE_SDL_MIXER == 2 or settings.USE_SDL_GFX == 2:
default_setting('GL_ENABLE_GET_PROC_ADDRESS', 1)

return (newargs, input_files)
Expand Down

0 comments on commit 1f1506e

Please sign in to comment.