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;