Fixed Windows compile error
authorSam Lantinga <slouken@libsdl.org>
Wed, 06 Nov 2013 23:59:24 -0800
changeset 7912 10eff60470b3
parent 7911 a9135f92ddba
child 7913 44dc7926f62d
Fixed Windows compile error
src/video/windows/SDL_windowsevents.c
--- a/src/video/windows/SDL_windowsevents.c	Wed Nov 06 23:35:08 2013 -0800
+++ b/src/video/windows/SDL_windowsevents.c	Wed Nov 06 23:59:24 2013 -0800
@@ -491,12 +491,12 @@
             s_AccumulatedMotion += GET_WHEEL_DELTA_WPARAM(wParam);
             if (s_AccumulatedMotion > 0) {
                 while (s_AccumulatedMotion >= WHEEL_DELTA) {
-                    SDL_SendMouseWheel(data->window, 0, 1, 0, timestamp);
+                    SDL_SendMouseWheel(data->window, 0, 1, 0);
                     s_AccumulatedMotion -= WHEEL_DELTA;
                 }
             } else {
                 while (s_AccumulatedMotion <= -WHEEL_DELTA) {
-                    SDL_SendMouseWheel(data->window, 0, -1, 0, timestamp);
+                    SDL_SendMouseWheel(data->window, 0, -1, 0);
                     s_AccumulatedMotion += WHEEL_DELTA;
                 }
             }