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:
ff46455
)
[Mac] Avoid calling into LegacyInputDriver
author
thefiddler
<stapostol@gmail.com>
Sun, 4 May 2014 06:32:26 +0000
(08:32 +0200)
committer
thefiddler
<stapostol@gmail.com>
Sun, 4 May 2014 06:32:26 +0000
(08:32 +0200)
Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs
b/Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs
index
e632415
..
0760e38
100644
(file)
--- a/
Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs
+++ b/
Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs
@@
-490,7
+490,7
@@
namespace OpenTK.Platform.MacOS
case NSEventType.OtherMouseDragged:
case NSEventType.MouseMoved:
{
- Point p =
InputDriver.Mouse[0].Position
;
+ Point p =
new Point(MouseState.X, MouseState.Y)
;
if (CursorVisible)
{
// Use absolute coordinates