mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-05 19:08:13 +00:00
A better default that saves the whopping amount of 28KB on the final bundle (#4177)
This commit is contained in:

committed by
GitHub

parent
f1f08861a1
commit
30f9ca7eb6
@@ -70,7 +70,8 @@ endif()
|
||||
if (${PLATFORM} MATCHES "Web")
|
||||
target_link_options(raylib PUBLIC "-sUSE_GLFW=3")
|
||||
if(${GRAPHICS} MATCHES "GRAPHICS_API_OPENGL_ES3")
|
||||
target_link_options(raylib PUBLIC "-sFULL_ES3")
|
||||
target_link_options(raylib PUBLIC "-sMIN_WEBGL_VERSION=2")
|
||||
target_link_options(raylib PUBLIC "-sMAX_WEBGL_VERSION=2")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user