mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-09 22:27:35 +00:00
[OpenTK] Treat null as MouseCursor.Empty
This commit is contained in:
parent
1d8ef7165f
commit
283a785703
|
@ -275,8 +275,9 @@ namespace OpenTK
|
||||||
{
|
{
|
||||||
EnsureUndisposed();
|
EnsureUndisposed();
|
||||||
if (value == null)
|
if (value == null)
|
||||||
throw new ArgumentNullException();
|
{
|
||||||
|
value = MouseCursor.Empty;
|
||||||
|
}
|
||||||
implementation.Cursor = value;
|
implementation.Cursor = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue