*GraphicsContext.Assert() should throw GraphicsContextMissing exception.

This commit is contained in:
the_fiddler 2009-03-23 11:42:17 +00:00
parent c7adcbb79b
commit 60665a76a4

View file

@ -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