[Mac] Avoid calling into LegacyInputDriver

This commit is contained in:
thefiddler 2014-05-04 08:32:26 +02:00
parent ff46455e56
commit e093fd23f6

View file

@ -490,7 +490,7 @@ namespace OpenTK.Platform.MacOS
case NSEventType.OtherMouseDragged: case NSEventType.OtherMouseDragged:
case NSEventType.MouseMoved: case NSEventType.MouseMoved:
{ {
Point p = InputDriver.Mouse[0].Position; Point p = new Point(MouseState.X, MouseState.Y);
if (CursorVisible) if (CursorVisible)
{ {
// Use absolute coordinates // Use absolute coordinates