From 60665a76a4a68b91d460a6e94de9ed5641b806d0 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 23 Mar 2009 11:42:17 +0000 Subject: [PATCH] *GraphicsContext.Assert() should throw GraphicsContextMissing exception. --- Source/OpenTK/Graphics/GraphicsContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Graphics/GraphicsContext.cs b/Source/OpenTK/Graphics/GraphicsContext.cs index 371d7e93..f576c70f 100644 --- a/Source/OpenTK/Graphics/GraphicsContext.cs +++ b/Source/OpenTK/Graphics/GraphicsContext.cs @@ -244,7 +244,7 @@ namespace OpenTK.Graphics public static void Assert() { if (GraphicsContext.CurrentContext == null) - throw new GraphicsContextException(); + throw new GraphicsContextMissingException(); } #endregion