[Mac] Fixed PointTo* calculations
authorthefiddler <stapostol@gmail.com>
Tue, 6 May 2014 07:03:13 +0000 (09:03 +0200)
committerthefiddler <stapostol@gmail.com>
Tue, 6 May 2014 07:03:13 +0000 (09:03 +0200)
commitb1f627893bde306fa5e8b41f86f282f24d14f12a
treee02c7627f667bc31c458a6cb281a26c91f7d5f54
parentcd315a3bd6a8f199c7a70d375ac5bc28f3d6d543
[Mac] Fixed PointTo* calculations

On HiDPI displays, the client rectangle is using a pixel-based
coordinate system, while the screen is using a point-based coordinate
system. PointToClient/PointToScreen now correctly accounts for that.
Source/OpenTK/Platform/MacOS/CocoaNativeWindow.cs