mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-24 12:46:54 +00:00
[OpenTK] Fixed compilation error
This commit is contained in:
parent
965c8baa7f
commit
2632661d8a
|
@ -54,7 +54,7 @@ namespace OpenTK
|
||||||
if (hotx < 0 || hotx >= Width || hoty < 0 || hoty >= Height)
|
if (hotx < 0 || hotx >= Width || hoty < 0 || hoty >= Height)
|
||||||
throw new ArgumentOutOfRangeException();
|
throw new ArgumentOutOfRangeException();
|
||||||
|
|
||||||
x = xhot;
|
x = hotx;
|
||||||
y = hoty;
|
y = hoty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ namespace OpenTK
|
||||||
if (hotx < 0 || hotx >= Width || hoty < 0 || hoty >= Height)
|
if (hotx < 0 || hotx >= Width || hoty < 0 || hoty >= Height)
|
||||||
throw new ArgumentOutOfRangeException();
|
throw new ArgumentOutOfRangeException();
|
||||||
|
|
||||||
x = xhot;
|
x = hotx;
|
||||||
y = hoty;
|
y = hoty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue