mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Make resetMouseCursor consistent with setCursorMode
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user