Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed compile error on some versions of Mac OS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 23, 2011
1 parent 7ea1670 commit 8327812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/cocoa/SDL_cocoamouse.m
Expand Up @@ -111,8 +111,8 @@
{
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);
}

Expand Down

0 comments on commit 8327812

Please sign in to comment.