From 8dc1fe1262f1108841c72834d83714bf87dac163 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Mon, 11 Nov 2024 15:42:17 -0500 Subject: [PATCH] [build] Fix native GLFW build Fixes an undefined reference to `glfwGetWindowAttrib` when building with GLFW support enabled. --- src/wsi/glfw/wsi_platform_glfw_funcs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wsi/glfw/wsi_platform_glfw_funcs.h b/src/wsi/glfw/wsi_platform_glfw_funcs.h index 89cedfd0d..ed7936884 100644 --- a/src/wsi/glfw/wsi_platform_glfw_funcs.h +++ b/src/wsi/glfw/wsi_platform_glfw_funcs.h @@ -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))