Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
Archivist
/
raylib-src
miroir de
https://github.com/raysan5/raylib
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Versions
24
Wiki
Activité
GL_ENABLE_GET_PROC_ADDRESS=1 is necessary with the latest version of emscripten, see
https://github.com/emscripten-core/emscripten/pull/20802
master
Christian Haas
il y a 1 an
Parent
c5787e129e
révision
45ea7c5e22
1 fichiers modifiés
avec
1 ajouts
et
1 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+1
-1
Working-for-Web-(HTML5).md
+ 1
- 1
Working-for-Web-(HTML5).md
@ -259,7 +259,7 @@ Included this snippet at the top of `CMakeLists.txt`, with no changes whatsoever
```
if (EMSCRIPTEN)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s ASYNCIFY")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s ASYNCIFY
-s GL_ENABLE_GET_PROC_ADDRESS=1
")
set(CMAKE_EXECUTABLE_SUFFIX ".html") # This line is used to set your executable to build with the emscripten html template so taht you can directly open it.
endif ()
```
Écrire
Aperçu
Chargement…
Annuler
Enregistrer