[OpenTK] Treat null as MouseCursor.Empty

This commit is contained in:
thefiddler 2014-04-27 19:45:08 +02:00
parent 1d8ef7165f
commit 283a785703

View file

@ -275,8 +275,9 @@ namespace OpenTK
{
EnsureUndisposed();
if (value == null)
throw new ArgumentNullException();
{
value = MouseCursor.Empty;
}
implementation.Cursor = value;
}
}