From e093fd23f6db5348d842e108d0c0208f413282a2 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Sun, 4 May 2014 08:32:26 +0200 Subject: [PATCH] [Mac] Avoid calling into LegacyInputDriver --- Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs b/Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs index e6324157..0760e38d 100644 --- 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