Parcourir la source

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

pull/4178/head
Lázaro Albuquerque il y a 7 mois
committed by GitHub
Parent
révision
30f9ca7eb6
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: B5690EEEBB952194
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      src/CMakeLists.txt

+ 2
- 1
src/CMakeLists.txt Voir le fichier

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

Chargement…
Annuler
Enregistrer