Initial band-aids on SDL_GetMouseState() API breakage. More work to come.

Fixes Bugzilla #758.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404334
This commit is contained in:
Ryan C. Gordon 2009-12-16 19:50:51 +00:00
parent 691ee6f7c0
commit 8b304825b5
5 changed files with 6 additions and 6 deletions

View file

@ -252,9 +252,9 @@ SDL_GetRelativeMouseMode(int index)
}
Uint8
SDL_GetMouseState(int index, int *x, int *y)
SDL_GetMouseState(int *x, int *y)
{
SDL_Mouse *mouse = SDL_GetMouse(index);
SDL_Mouse *mouse = SDL_GetMouse(SDL_current_mouse);
if (!mouse) {
if (x) {