mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 23:05:55 +00:00
*GraphicsContext.Assert() should throw GraphicsContextMissing exception.
This commit is contained in:
parent
c7adcbb79b
commit
60665a76a4
|
@ -244,7 +244,7 @@ namespace OpenTK.Graphics
|
||||||
public static void Assert()
|
public static void Assert()
|
||||||
{
|
{
|
||||||
if (GraphicsContext.CurrentContext == null)
|
if (GraphicsContext.CurrentContext == null)
|
||||||
throw new GraphicsContextException();
|
throw new GraphicsContextMissingException();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue