Fix glfwSetTheme conflicting declaration

This commit is contained in:
ws909 2023-01-29 21:18:48 +01:00
parent 3e7ce3ac63
commit bcd5cf6f8e

View File

@ -1153,7 +1153,7 @@ GLFWAPI void glfwPostEmptyEvent(void)
_glfw.platform.postEmptyEvent(); _glfw.platform.postEmptyEvent();
} }
GLFWAPI void glfwSetTheme(GLFWwindow* handle, GLFWtheme* theme) GLFWAPI void glfwSetTheme(GLFWwindow* handle, const GLFWtheme* theme)
{ {
_GLFWwindow* window = (_GLFWwindow*) handle; _GLFWwindow* window = (_GLFWwindow*) handle;