Very small change.

This commit is contained in:
siavash 2013-07-05 00:06:04 +04:30
parent 92adb6d266
commit 16f036bb53

View File

@ -64,7 +64,7 @@ static void setCursorMode(_GLFWwindow* window, int newMode)
_glfw.cursorPosY = window->cursorPosY;
_glfwPlatformGetWindowSize(window, &width, &height);
_glfwPlatformSetCursorPos(window, width / 2.0, height / 2.0);
_glfwPlatformSetCursorPos(window, width * 0.5, height * 0.5);
}
_glfwPlatformSetCursorMode(window, newMode);