Fixed compile error on some versions of Mac OS X.
This commit is contained in:
parent
d79f7ed02d
commit
2f682c9d08
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue