diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 5205579f..f93b2c6a 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -873,7 +873,7 @@ void _glfwPlatformWaitEvents(void) _glfwPlatformPollEvents(); } -void _glfwPlatformSetCursorPos(_GLFWwindow* window, int x, int y) +void _glfwPlatformSetCursorPos(_GLFWwindow* window, double x, double y) { if (window->monitor) {