Emscripten: Patched to compile. default tip
authorRyan C. Gordon <icculus@icculus.org>
Thu, 18 Dec 2014 00:19:52 -0500
changeset 9279 e5e5571d3bed
parent 9278 e881c9e96650
Emscripten: Patched to compile.
src/video/emscripten/SDL_emscriptenevents.c
--- a/src/video/emscripten/SDL_emscriptenevents.c	Sat Dec 13 02:40:52 2014 -0500
+++ b/src/video/emscripten/SDL_emscriptenevents.c	Thu Dec 18 00:19:52 2014 -0500
@@ -356,7 +356,7 @@
 Emscripten_HandleWheel(int eventType, const EmscriptenWheelEvent *wheelEvent, void *userData)
 {
     SDL_WindowData *window_data = userData;
-    SDL_SendMouseWheel(window_data->window, 0, wheelEvent->deltaX, -wheelEvent->deltaY);
+    SDL_SendMouseWheel(window_data->window, 0, wheelEvent->deltaX, -wheelEvent->deltaY, SDL_MOUSEWHEEL_NORMAL);
     return 1;
 }