Skip to content

Commit 59efc54

Browse files
committed
Fix emscripten options in CMakeLists.txt
1 parent 861c36e commit 59efc54

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ if(ENABLE_EMSCRIPTEN)
109109
# Note: The "SHELL:" syntax is required to pass each argument as-is, but without quotes and CMake's de-duplication.
110110
add_compile_options(
111111
"SHELL:-s USE_SDL=2"
112-
"SHELL:-s MIN_WEBGL_VERSION=2"
113-
"SHELL:-s MAX_WEBGL_VERSION=2"
114-
"SHELL:-s ALLOW_MEMORY_GROWTH=1"
115112
"SHELL:-s NO_DISABLE_EXCEPTION_CATCHING"
116113
)
117114

@@ -120,6 +117,7 @@ if(ENABLE_EMSCRIPTEN)
120117
"SHELL:-s MIN_WEBGL_VERSION=2"
121118
"SHELL:-s MAX_WEBGL_VERSION=2"
122119
"SHELL:-s FULL_ES2=1"
120+
"SHELL:-s FULL_ES3=1"
123121
"SHELL:-s ALLOW_MEMORY_GROWTH=1"
124122
"SHELL:-s NO_DISABLE_EXCEPTION_CATCHING"
125123
)

0 commit comments

Comments
 (0)