From 59efc54fe511120a564ddc012fca4f5bc082c069 Mon Sep 17 00:00:00 2001 From: Blaquewithaq Date: Sun, 25 Feb 2024 22:28:22 -0600 Subject: [PATCH] Fix emscripten options in CMakeLists.txt --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ec0e26c47..eb12d931a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,9 +109,6 @@ if(ENABLE_EMSCRIPTEN) # Note: The "SHELL:" syntax is required to pass each argument as-is, but without quotes and CMake's de-duplication. add_compile_options( "SHELL:-s USE_SDL=2" - "SHELL:-s MIN_WEBGL_VERSION=2" - "SHELL:-s MAX_WEBGL_VERSION=2" - "SHELL:-s ALLOW_MEMORY_GROWTH=1" "SHELL:-s NO_DISABLE_EXCEPTION_CATCHING" ) @@ -120,6 +117,7 @@ if(ENABLE_EMSCRIPTEN) "SHELL:-s MIN_WEBGL_VERSION=2" "SHELL:-s MAX_WEBGL_VERSION=2" "SHELL:-s FULL_ES2=1" + "SHELL:-s FULL_ES3=1" "SHELL:-s ALLOW_MEMORY_GROWTH=1" "SHELL:-s NO_DISABLE_EXCEPTION_CATCHING" )