diff --git a/src/null_init.c b/src/null_init.c index 7236c98c..23989176 100644 --- a/src/null_init.c +++ b/src/null_init.c @@ -73,6 +73,7 @@ GLFWbool _glfwConnectNull(int platformID, _GLFWplatform* platform) _glfwCreateWindowNull, _glfwDestroyWindowNull, _glfwSetWindowTitleNull, + _glfwSetWindowTitlebarColorNull, _glfwSetWindowIconNull, _glfwGetWindowPosNull, _glfwSetWindowPosNull, diff --git a/src/window.c b/src/window.c index 7aae3d1b..6ee09187 100644 --- a/src/window.c +++ b/src/window.c @@ -529,7 +529,7 @@ GLFWAPI void glfwSetWindowTitlebarColor(GLFWwindow* handle, int r, int g, int b, assert(window != NULL); assert(window != NULL); _GLFW_REQUIRE_INIT(); - _glfw.platform.setWindowTitlebarColor(handle, r,g,b,a); + _glfw.platform.setWindowTitlebarColor(window, r,g,b,a); } GLFWAPI void glfwSetWindowIcon(GLFWwindow* handle, int count, const GLFWimage* images)