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

Fixed call to CGPointMake.

This commit is contained in:
Camilla Berglund 2012-07-29 14:07:01 +02:00
parent 52ebc0db85
commit b28298f329

View File

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