projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8dfe4
)
[SDL] Use h-wheel events
author
thefiddler
<stapostol@gmail.com>
Sat, 10 May 2014 00:06:40 +0000
(
02:06
+0200)
committer
thefiddler
<stapostol@gmail.com>
Mon, 12 May 2014 00:20:52 +0000
(
02:20
+0200)
Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs
b/Source/OpenTK/Platform/SDL2/Sdl2Mouse.cs
index
ee6f899
..
b3f8ec4
100644
(file)
--- 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)