Skip to content

Commit

Permalink
hotfix for zengl sometimes cannot select webgl2
Browse files Browse the repository at this point in the history
  • Loading branch information
pmp-p committed Mar 6, 2024
1 parent 2ff50d1 commit bcccabc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build-loader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ then

# TODO: test -sWEBGL2_BACKWARDS_COMPATIBILITY_EMULATION

# -sMIN_WEBGL_VERSION=2 -sMAX_WEBGL_VERSION=2
#

LDFLAGS="-sUSE_GLFW=3 -sUSE_WEBGL2 -sOFFSCREENCANVAS_SUPPORT=1 -sFULL_ES2 -sFULL_ES3"
LDFLAGS="-sUSE_GLFW=3 -sUSE_WEBGL2 -sMIN_WEBGL_VERSION=2 -sMAX_WEBGL_VERSION=2 -sOFFSCREENCANVAS_SUPPORT=1 -sFULL_ES2 -sFULL_ES3"

LDFLAGS="$LDFLAGS -lsqlite3"

Expand Down

0 comments on commit bcccabc

Please sign in to comment.