Skip to content

Commit

Permalink
[build] Fix native GLFW build
Browse files Browse the repository at this point in the history
Fixes an undefined reference to `glfwGetWindowAttrib` when building with
GLFW support enabled.
  • Loading branch information
reckenrode authored and doitsujin committed Nov 11, 2024
1 parent e6209d2 commit 8dc1fe1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wsi/glfw/wsi_platform_glfw_funcs.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ GLFW_PROC(GLFWmonitor*, glfwGetPrimaryMonitor, (void))
GLFW_PROC(const char**, glfwGetRequiredInstanceExtensions, (uint32_t*))
GLFW_PROC(const GLFWvidmode*, glfwGetVideoMode, (GLFWmonitor*))
GLFW_PROC(const GLFWvidmode*, glfwGetVideoModes, (GLFWmonitor*, int*))
GLFW_PROC(int, glfwGetWindowAttrib, (GLFWwindow*, int))
GLFW_PROC(void, glfwGetWindowSize, (GLFWwindow*, int*, int*))
GLFW_PROC(void, glfwSetWindowMonitor, (GLFWwindow*, GLFWmonitor*, int, int, int, int, int))
GLFW_PROC(void, glfwSetWindowSize, (GLFWwindow*, int, int))
Expand Down

0 comments on commit 8dc1fe1

Please sign in to comment.