From bcd5cf6f8e9fb211c85a0a3290effe28e691f531 Mon Sep 17 00:00:00 2001 From: ws909 <37029098+ws909@users.noreply.github.com> Date: Sun, 29 Jan 2023 21:18:48 +0100 Subject: [PATCH] Fix glfwSetTheme conflicting declaration --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 12bd4a30..dda7993e 100644 --- a/src/window.c +++ b/src/window.c @@ -1153,7 +1153,7 @@ GLFWAPI void glfwPostEmptyEvent(void) _glfw.platform.postEmptyEvent(); } -GLFWAPI void glfwSetTheme(GLFWwindow* handle, GLFWtheme* theme) +GLFWAPI void glfwSetTheme(GLFWwindow* handle, const GLFWtheme* theme) { _GLFWwindow* window = (_GLFWwindow*) handle;