From 7eefb3e3ff7662e2ecc4945a75eb1f3d545a9a71 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Sat, 10 May 2014 02:06:40 +0200 Subject: [PATCH] [SDL] Use h-wheel events --- Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs b/Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs index ee6f8992..b3f8ec45 100644 --- a/Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs +++ b/Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs @@ -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)