mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Fixed call to CGPointMake.
This commit is contained in:
parent
52ebc0db85
commit
b28298f329
@ -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…
Reference in New Issue
Block a user