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