Update glad2 and switch to header-only version

This updates to a newer version of glad2 and switches to the header-only
variant.

This also (finally) switches to the newer glad2 loader signature that
allows us to pass in glfwGetInstanceProcAddress directly.
This commit is contained in:
Camilla Löwy
2021-08-25 01:18:03 +02:00
parent 518e26e16e
commit 62074f3dea
38 changed files with 4297 additions and 3749 deletions
+1 -2
View File
@@ -18,8 +18,7 @@ elseif (APPLE)
set(ICON glfw.icns)
endif()
set(GLAD_GL "${GLFW_SOURCE_DIR}/deps/glad/gl.h"
"${GLFW_SOURCE_DIR}/deps/glad_gl.c")
set(GLAD_GL "${GLFW_SOURCE_DIR}/deps/glad/gl.h")
set(GETOPT "${GLFW_SOURCE_DIR}/deps/getopt.h"
"${GLFW_SOURCE_DIR}/deps/getopt.c")
set(TINYCTHREAD "${GLFW_SOURCE_DIR}/deps/tinycthread.h"