Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[OpenTK] Fixed compilation error

  • Loading branch information...
commit 2632661d8acefe618248d0a5e8fabb6325d9bf26 1 parent 965c8ba
@thefiddler thefiddler authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/OpenTK/MouseCursor.cs
View
4 Source/OpenTK/MouseCursor.cs
@@ -54,7 +54,7 @@ public MouseCursor(byte[] argb, int width, int height, int hotx, int hoty)
if (hotx < 0 || hotx >= Width || hoty < 0 || hoty >= Height)
throw new ArgumentOutOfRangeException();
- x = xhot;
+ x = hotx;
y = hoty;
}
@@ -64,7 +64,7 @@ public MouseCursor(IntPtr argb, int width, int height, int hotx, int hoty)
if (hotx < 0 || hotx >= Width || hoty < 0 || hoty >= Height)
throw new ArgumentOutOfRangeException();
- x = xhot;
+ x = hotx;
y = hoty;
}
Please sign in to comment.
Something went wrong with that request. Please try again.