mirror of
https://github.com/yawut/SDL.git
synced 2026-09-11 18:46:36 -05:00
Fixed compile error on some versions of Mac OS X.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user