Deprecated the LoadAll() method in favor of the new GraphicsContext constructors.

This commit is contained in:
the_fiddler 2009-11-04 17:03:59 +00:00
parent 2073a8805c
commit 38576a20f2

View file

@ -71,6 +71,7 @@ namespace OpenTK.Graphics.OpenGL
/// Loads all OpenGL entry points (core and extension). /// Loads all OpenGL entry points (core and extension).
/// This method is provided for compatibility purposes with older OpenTK versions. /// This method is provided for compatibility purposes with older OpenTK versions.
/// </summary> /// </summary>
[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() public static void LoadAll()
{ {
new GL().LoadEntryPoints(); new GL().LoadEntryPoints();