From f154fb3ba96475aa2112c1e3f3d48225e36d51cc Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Thu, 10 Jul 2008 21:13:01 +0000 Subject: [PATCH] Commented out an unused code block. --- Source/OpenTK/Graphics/GL/GLHelper.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/OpenTK/Graphics/GL/GLHelper.cs b/Source/OpenTK/Graphics/GL/GLHelper.cs index 48dce12f..4d17a391 100644 --- a/Source/OpenTK/Graphics/GL/GLHelper.cs +++ b/Source/OpenTK/Graphics/GL/GLHelper.cs @@ -344,9 +344,10 @@ namespace OpenTK.Graphics static bool SupportsFunction(MethodInfo method) { throw new NotImplementedException(); +#if false lock (gl_lock) { - /* + if (function == null) throw new ArgumentNullException("function"); @@ -362,9 +363,10 @@ namespace OpenTK.Graphics return false; return f.GetValue(null) != null; - */ + return false; } +#endif } #endregion