mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-30 11:16:56 +00:00
Deprecated the LoadAll() method in favor of the new GraphicsContext constructors.
This commit is contained in:
parent
2073a8805c
commit
38576a20f2
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue