From b6d69104b4c11ba99fd1b13da721b7a40cdddae2 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 23 Jan 2008 00:20:02 +0000 Subject: [PATCH] Removed unused FieldInfo[] array. --- Source/OpenTK/GLContext.cs | 7 +++++++ Source/OpenTK/OpenGL/GLHelper.cs | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Source/OpenTK/GLContext.cs b/Source/OpenTK/GLContext.cs index 37e0ae47..9f4960f4 100644 --- a/Source/OpenTK/GLContext.cs +++ b/Source/OpenTK/GLContext.cs @@ -353,4 +353,11 @@ namespace OpenTK #endregion } + + /// Represents errors related to Graphics operations. + public class GraphicsException : Exception + { + public GraphicsException() : base() { } + public GraphicsException(string message) : base(message) { } + } } \ No newline at end of file diff --git a/Source/OpenTK/OpenGL/GLHelper.cs b/Source/OpenTK/OpenGL/GLHelper.cs index c3972895..e676f47c 100644 --- a/Source/OpenTK/OpenGL/GLHelper.cs +++ b/Source/OpenTK/OpenGL/GLHelper.cs @@ -72,7 +72,6 @@ namespace OpenTK.OpenGL private static Type glClass; private static Type delegatesClass; private static Type importsClass; - private static FieldInfo[] delegates; #endregion