src/events/SDL_mouse.c
changeset 3585 f8816ffa210b
parent 3572 6bb9952d5029
child 3685 64ce267332c6
--- a/src/events/SDL_mouse.c	Wed Dec 16 16:42:04 2009 +0000
+++ b/src/events/SDL_mouse.c	Wed Dec 16 19:50:51 2009 +0000
@@ -252,9 +252,9 @@
 }
 
 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) {