mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 18:35:32 +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()
|
||||
{
|
||||
if (GraphicsContext.CurrentContext == null)
|
||||
throw new GraphicsContextException();
|
||||
throw new GraphicsContextMissingException();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue