Fixed use of wrong point type.

This commit is contained in:
Camilla Berglund 2012-07-23 00:50:52 +02:00
parent dd298ab908
commit 52ebc0db85

View File

@ -1163,7 +1163,7 @@ void _glfwPlatformSetCursorPos(_GLFWwindow* window, int x, int y)
{
if (window->mode == GLFW_FULLSCREEN)
{
NSPoint globalPoint = NSMakePoint(x, y);
CGPoint globalPoint = CGMakePoint(x, y);
CGDisplayMoveCursorToPoint(CGMainDisplayID(), globalPoint);
}
else