src/events/SDL_mouse.c
changeset 3585 f8816ffa210b
parent 3572 6bb9952d5029
child 3685 64ce267332c6
     1.1 --- a/src/events/SDL_mouse.c	Wed Dec 16 16:42:04 2009 +0000
     1.2 +++ b/src/events/SDL_mouse.c	Wed Dec 16 19:50:51 2009 +0000
     1.3 @@ -252,9 +252,9 @@
     1.4  }
     1.5  
     1.6  Uint8
     1.7 -SDL_GetMouseState(int index, int *x, int *y)
     1.8 +SDL_GetMouseState(int *x, int *y)
     1.9  {
    1.10 -    SDL_Mouse *mouse = SDL_GetMouse(index);
    1.11 +    SDL_Mouse *mouse = SDL_GetMouse(SDL_current_mouse);
    1.12  
    1.13      if (!mouse) {
    1.14          if (x) {