Fixed Windows compile error
authorSam Lantinga <slouken@libsdl.org>
Wed, 06 Nov 2013 23:59:24 -0800
changeset 791210eff60470b3
parent 7911 a9135f92ddba
child 7913 44dc7926f62d
Fixed Windows compile error
src/video/windows/SDL_windowsevents.c
     1.1 --- a/src/video/windows/SDL_windowsevents.c	Wed Nov 06 23:35:08 2013 -0800
     1.2 +++ b/src/video/windows/SDL_windowsevents.c	Wed Nov 06 23:59:24 2013 -0800
     1.3 @@ -491,12 +491,12 @@
     1.4              s_AccumulatedMotion += GET_WHEEL_DELTA_WPARAM(wParam);
     1.5              if (s_AccumulatedMotion > 0) {
     1.6                  while (s_AccumulatedMotion >= WHEEL_DELTA) {
     1.7 -                    SDL_SendMouseWheel(data->window, 0, 1, 0, timestamp);
     1.8 +                    SDL_SendMouseWheel(data->window, 0, 1, 0);
     1.9                      s_AccumulatedMotion -= WHEEL_DELTA;
    1.10                  }
    1.11              } else {
    1.12                  while (s_AccumulatedMotion <= -WHEEL_DELTA) {
    1.13 -                    SDL_SendMouseWheel(data->window, 0, -1, 0, timestamp);
    1.14 +                    SDL_SendMouseWheel(data->window, 0, -1, 0);
    1.15                      s_AccumulatedMotion += WHEEL_DELTA;
    1.16                  }
    1.17              }