src/test/SDL_test_common.c
changeset 8952 4bb098814ec4
parent 8945 04248c700ada
child 8953 dc80dc0bd22e
     1.1 --- a/src/test/SDL_test_common.c	Wed Jun 11 00:40:19 2014 -0400
     1.2 +++ b/src/test/SDL_test_common.c	Wed Jun 25 16:16:55 2014 -0400
     1.3 @@ -1492,7 +1492,7 @@
     1.4              if (withControl) {
     1.5                  /* Ctrl-A reports absolute mouse position. */
     1.6                  int x, y;
     1.7 -                const Uint32 mask = SDL_GetAbsoluteMouseState(&x, &y);
     1.8 +                const Uint32 mask = SDL_GetGlobalMouseState(&x, &y);
     1.9                  SDL_Log("ABSOLUTE MOUSE: (%d, %d)%s%s%s%s%s\n", x, y,
    1.10                          (mask & SDL_BUTTON_LMASK) ? " [LBUTTON]" : "",
    1.11                          (mask & SDL_BUTTON_MMASK) ? " [MBUTTON]" : "",