SDL2_TTF; FPS Counter, downgrade EMSDK to 3.1.43

This commit is contained in:
2024-04-15 16:10:31 -05:00
parent 2e29f9bce0
commit f0513f3962
7 changed files with 44 additions and 12 deletions

View File

@@ -37,12 +37,11 @@ fi
if [ "$skip_emsdk" = 'false' ]; then
echo "Activating Emscripten"
./../emsdk/emsdk activate latest
# SDL2-TTF requires 3.1.43, fails to build on latest
./../emsdk/emsdk activate 3.1.43
source ../emsdk/emsdk_env.sh
fi
# export EMCC_CFLAGS="-s USE_SDL=2"
echo "Building WASM with Emscripten"
build_type='debug'
if [ "$release" = 'true' ]; then