Correct PointToClient so that returned point is relative to upper left corner of game window, consistent with the documentation.
This commit is contained in:
parent
5817a46f65
commit
d272d0b15c
1 changed files with 0 additions and 2 deletions
|
@ -1358,8 +1358,6 @@ namespace OpenTK
|
|||
public System.Drawing.Point PointToClient(System.Drawing.Point point)
|
||||
{
|
||||
point = glWindow.PointToClient(point);
|
||||
point.X = Width - point.X;
|
||||
point.Y = Height - point.Y;
|
||||
|
||||
return point;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue