mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 06:45:31 +00:00
Constructor now throws ArgumentNullException instead of ArgumentException.
This commit is contained in:
parent
5467bc9567
commit
65e2c7830c
|
@ -40,7 +40,7 @@ namespace OpenTK.Platform.X11
|
|||
public X11GLContext(DisplayMode mode, IWindowInfo info)
|
||||
{
|
||||
if (info == null)
|
||||
throw new ArgumentException("IWindowInfo cannot be null.");
|
||||
throw new ArgumentNullException("IWindowInfo cannot be null.");
|
||||
|
||||
this.windowInfo = info as WindowInfo;
|
||||
this.mode = mode;
|
||||
|
|
Loading…
Reference in a new issue