Deprecated the LoadAll() method in favor of the new GraphicsContext constructors.
This commit is contained in:
parent
c3aba0d21e
commit
30afae50c6
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
/// </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()
|
||||
{
|
||||
new GL().LoadEntryPoints();
|
||||
|
|
Loading…
Reference in a new issue