Merge pull request #19988 from archanox/patch-2

Add GLES/EGL build config to build script
This commit is contained in:
Henrik Rydgård 2025-02-17 10:45:46 -06:00 committed by GitHub
commit 8b1bf43283
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

3
b.sh
View file

@ -84,6 +84,9 @@ do
--no_mmap) echo "Disable mmap"
CMAKE_ARGS="-DUSE_NO_MMAP=ON ${CMAKE_ARGS}"
;;
--gles) echo "Using GLES/EGL"
CMAKE_ARGS="-DUSING_GLES2=ON -DUSING_EGL=ON ${CMAKE_ARGS}"
;;
*) MAKE_OPT="$1 ${MAKE_OPT}"
;;
esac