mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 10:45:38 +00:00
[Mac] Avoid calling into LegacyInputDriver
This commit is contained in:
parent
ff46455e56
commit
e093fd23f6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue