mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-22 15:51:16 +00:00
Ensure OpenTK.Graphics.GL.LoadAll() is called in OpenTK.Compatibility.
This commit is contained in:
parent
a7aba38fa2
commit
750b2d9431
|
@ -79,6 +79,8 @@ namespace OpenTK.Graphics
|
|||
glClass = typeof(GL);
|
||||
delegatesClass = glClass.GetNestedType("Delegates", BindingFlags.Static | BindingFlags.NonPublic);
|
||||
importsClass = glClass.GetNestedType("Imports", BindingFlags.Static | BindingFlags.NonPublic);
|
||||
|
||||
LoadAll(); // Ensure this class is loaded, since it is no longer visible to the GraphicsContext.LoadAll() method.
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue