Skip to content

Commit 24bb135

Browse files
authored
precise why png/jpeg are required
1 parent be7d623 commit 24bb135

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildconfig/Setup.Emscripten.SDL2.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
#MIXER = -lSDL2_mixer
77
#SCRAP =
88
#FREETYPE = -lfreetype -lharfbuzz
9+
10+
# png and jpeg are needed for decoders in SDL_image, when not using emscripten preload api because its async
11+
# which is the case for both pygbag or wasi (no browser, no emscripten js api emulation)
912
PNG = -lpng
1013
JPEG = -ljpeg
1114
DEBUG =

0 commit comments

Comments
 (0)