mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-03 05:41:03 +00:00
*GraphicsContext.Assert() should throw GraphicsContextMissing exception.
This commit is contained in:
parent
93a467a11f
commit
46b0cc4a36
|
@ -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