src/events/SDL_mouse.c
changeset 8952 4bb098814ec4
parent 8945 04248c700ada
child 8953 dc80dc0bd22e
     1.1 --- a/src/events/SDL_mouse.c	Wed Jun 11 00:40:19 2014 -0400
     1.2 +++ b/src/events/SDL_mouse.c	Wed Jun 25 16:16:55 2014 -0400
     1.3 @@ -470,7 +470,7 @@
     1.4  }
     1.5  
     1.6  Uint32
     1.7 -SDL_GetAbsoluteMouseState(int *x, int *y)
     1.8 +SDL_GetGlobalMouseState(int *x, int *y)
     1.9  {
    1.10      SDL_Mouse *mouse = SDL_GetMouse();
    1.11      int tmpx, tmpy;
    1.12 @@ -485,12 +485,12 @@
    1.13  
    1.14      *x = *y = 0;
    1.15  
    1.16 -    if (!mouse->GetAbsoluteMouseState) {
    1.17 +    if (!mouse->GetGlobalMouseState) {
    1.18          SDL_assert(0 && "This should really be implemented for every target.");
    1.19          return 0;
    1.20      }
    1.21  
    1.22 -    return mouse->GetAbsoluteMouseState(x, y);
    1.23 +    return mouse->GetGlobalMouseState(x, y);
    1.24  }
    1.25  
    1.26  void