瀏覽代碼

A better default that saves the whopping amount of 28KB on the final bundle (#4177)

pull/4178/head
Lázaro Albuquerque 7 月之前
committed by GitHub
父節點
當前提交
30f9ca7eb6
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      src/CMakeLists.txt

+ 2
- 1
src/CMakeLists.txt 查看文件

@ -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()

Loading…
取消
儲存