[Mac] Fixed cursor coords when CursorVisible=false

This commit is contained in:
thefiddler 2014-05-02 14:21:32 +02:00
parent 89fc36bde1
commit 3824f55f18

View file

@ -507,7 +507,7 @@ namespace OpenTK.Platform.MacOS
p = new Point(
MathHelper.Clamp((int)Math.Round(p.X + dx), 0, Width),
MathHelper.Clamp((int)Math.Round(p.Y - dy), 0, Height));
MathHelper.Clamp((int)Math.Round(p.Y + dy), 0, Height));
}
InputDriver.Mouse[0].Position = p;