[SDL] Use h-wheel events

This commit is contained in:
thefiddler 2014-05-10 02:06:40 +02:00
parent bb8dfe4304
commit 7eefb3e3ff

View file

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