mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 02:56:43 +01:00
emscripten: Don't use WebGL2 contexts by default
The only thing it usually brings us is support for bigger texture sizes. Games that rely on that can enable WebGL2 explicitly.
This commit is contained in:
parent
4980be9e32
commit
4fd703f821
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
|
|||
set(CMAKE_SHARED_MODULE_SUFFIX ".js")
|
||||
endif()
|
||||
|
||||
option(LIBSUPERDERPY_USE_WEBGL2 "Use WebGL 2 context" ON)
|
||||
option(LIBSUPERDERPY_USE_WEBGL2 "Use WebGL 2 context" OFF)
|
||||
if(LIBSUPERDERPY_USE_WEBGL2)
|
||||
set(EMSCRIPTEN_FLAGS ${EMSCRIPTEN_FLAGS} -s USE_WEBGL2=1)
|
||||
endif(LIBSUPERDERPY_USE_WEBGL2)
|
||||
|
|
Loading…
Reference in a new issue