mirror of https://github.com/encounter/SDL.git
Fixed parameter operation ordering for ease of reading
This commit is contained in:
parent
0517b61ed6
commit
8f964576da
|
@ -253,7 +253,7 @@ Cocoa_WarpMouseGlobal(int x, int y)
|
|||
static void
|
||||
Cocoa_WarpMouse(SDL_Window * window, int x, int y)
|
||||
{
|
||||
Cocoa_WarpMouseGlobal(x + window->x, y + window->y);
|
||||
Cocoa_WarpMouseGlobal(window->x + x, window->y + y);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue