本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
Archivist
/
raylib-src
镜像来自
https://github.com/raysan5/raylib
關注
1
收藏
0
複製
0
程式碼
問題
0
版本發佈
24
Wiki
活動
Add second entry for GL_ENABLE_GET_PROC_ADDRESS=1
master
Christian Haas
1 年之前
父節點
45ea7c5e22
當前提交
906bb3372b
共有
1 個檔案被更改
,包括
1 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Working-for-Web-(HTML5).md
+ 1
- 1
Working-for-Web-(HTML5).md
@ -147,7 +147,7 @@ cmake --build build
```cmake
if (EMSCRIPTEN)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s ASYNCIFY")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_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 that you can directly open it.
endif ()
```
Write
Preview
Loading…
取消
儲存