From 30afae50c6c1c771b089bdc80c1ea1fec885aaf9 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 4 Nov 2009 17:03:59 +0000 Subject: [PATCH] Deprecated the LoadAll() method in favor of the new GraphicsContext constructors. --- Source/OpenTK/Graphics/OpenGL/GLHelper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs index 32b5165e..ee8973d5 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLHelper.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLHelper.cs @@ -71,6 +71,7 @@ namespace OpenTK.Graphics.OpenGL /// Loads all OpenGL entry points (core and extension). /// This method is provided for compatibility purposes with older OpenTK versions. /// + [Obsolete("If you are using a context constructed outside of OpenTK, create a new GraphicsContext and pass your context handle to it. Otherwise, there is no need to call this method.")] public static void LoadAll() { new GL().LoadEntryPoints();