1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 04:28:52 -05:00

Make resetMouseCursor consistent with setCursorMode

This commit is contained in:
Noel Cower 2013-04-16 16:49:43 -06:00
parent 1ba8fd05c0
commit 662958ef11

View File

@ -54,7 +54,7 @@ static void resetMouseCursor(_GLFWwindow *window)
{
int width, height;
_glfwPlatformGetWindowSize(window, &width, &height);
_glfwPlatformSetCursorPos(window, width / 2, height / 2);
_glfwPlatformSetCursorPos(window, width / 2.0, height / 2.0);
}
}