[Platform] Forward PointToScreen to backend

This commit is contained in:
thefiddler 2014-05-06 09:02:09 +02:00
parent 637a8bee66
commit cd315a3bd6

View file

@ -163,12 +163,7 @@ namespace OpenTK
/// </returns>
public Point PointToScreen(Point point)
{
// Here we use the fact that PointToClient just translates the point, and PointToScreen
// should perform the inverse operation.
Point trans = PointToClient(Point.Empty);
point.X -= trans.X;
point.Y -= trans.Y;
return point;
return implementation.PointToScreen(point);
}
#endregion