[SDL] Use h-wheel events
authorthefiddler <stapostol@gmail.com>
Sat, 10 May 2014 00:06:40 +0000 (02:06 +0200)
committerthefiddler <stapostol@gmail.com>
Mon, 12 May 2014 00:20:52 +0000 (02:20 +0200)
Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs

index ee6f899..b3f8ec4 100644 (file)
@@ -87,7 +87,7 @@ namespace OpenTK.Platform.SDL2
 
         public void ProcessWheelEvent(MouseWheelEvent wheel)
         {
-            state.SetScrollRelative(0, wheel.Y);
+            state.SetScrollRelative(wheel.X, wheel.Y);
         }
 
         public void ProcessMouseEvent(MouseMotionEvent motion)