Skip to content

Commit

Permalink
Linking glfwGetProcAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Dec 17, 2023
1 parent 37c80ed commit 2269089
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ ifeq ($(ARCHI),Emscripten)
LINKER_FLAGS += -s USE_GLFW=3
# Add this flag ONLY in case we are using ASYNCIFY code
LINKER_FLAGS += -s ASYNCIFY
# For linking glfwGetProcAddress().
LINKER_FLAGS += -s GL_ENABLE_GET_PROC_ADDRESS
# All webs need a "shell" structure to load and run the game,
# by default emscripten has a `shell.html` but we can provide
# our own.
Expand Down

0 comments on commit 2269089

Please sign in to comment.