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