diff options
| author | Ed Preston <epreston@prestonsoft.com> | 2024-08-14 22:13:21 +1000 |
|---|---|---|
| committer | Ed Preston <epreston@prestonsoft.com> | 2024-08-14 22:13:21 +1000 |
| commit | 62b6c44edbfd64a454bdcff185fbfb9fd3c16267 (patch) | |
| tree | 82a3537ca248eb4cf1f3a3bb8fe6834063879438 /tests | |
| parent | 9c8cad6ae91f0cd6463455c9e5618c91b9721c08 (diff) | |
update emscripten webgl link flags
USE_WEBGL2 deprecated.
WebGL1 was removed from sokol 30-Apr-2023
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9c7d3cba..89e01a7f 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -73,7 +73,7 @@ if (EMSCRIPTEN) if (SOKOL_BACKEND STREQUAL SOKOL_WGPU) set(link_flags ${link_flags} -sUSE_WEBGPU=1) else() - set(link_flags ${link_flags} -sUSE_WEBGL2=1) + set(link_flags ${link_flags} -sMIN_WEBGL_VERSION=2 -sMAX_WEBGL_VERSION=2) endif() elseif (OSX_IOS) set(exe_type MACOSX_BUNDLE) |