Commit 2f682c9d authored by Sam Lantinga's avatar Sam Lantinga

Fixed compile error on some versions of Mac OS X.

parent d79f7ed0
......@@ -111,8 +111,8 @@ Cocoa_WarpMouse(SDL_Window * window, int x, int y)
{
CGPoint point;
point.x = (CGFloat)window->x + x;
point.y = (CGFloat)window->y + y;
point.x = (float)window->x + x;
point.y = (float)window->y + y;
CGWarpMouseCursorPosition(point);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment