Fixed call to CGPointMake.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent 52ebc0db85
commit b28298f329
  1. 2
      src/cocoa_window.m

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

Loading…
Cancel
Save