mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-12 20:35:32 +00:00
Refresh rate may be zero - updated exception string.
This commit is contained in:
parent
3608654eb1
commit
d3c9517158
|
@ -28,7 +28,7 @@ namespace OpenTK.Graphics
|
|||
if (width <= 0) throw new ArgumentOutOfRangeException("width", "Must be greater than zero.");
|
||||
if (height <= 0) throw new ArgumentOutOfRangeException("height", "Must be greater than zero.");
|
||||
if (bitsPerPixel <= 0) throw new ArgumentOutOfRangeException("bitsPerPixel", "Must be greater than zero.");
|
||||
if (refreshRate < 0) throw new ArgumentOutOfRangeException("refreshRate", "Must be greater than zero.");
|
||||
if (refreshRate < 0) throw new ArgumentOutOfRangeException("refreshRate", "Must be greater than, or equal to zero.");
|
||||
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
|
|
Loading…
Reference in a new issue