Ensure OpenTK.Graphics.GL.LoadAll() is called in OpenTK.Compatibility.

This commit is contained in:
the_fiddler 2009-08-19 10:47:12 +00:00
parent a7aba38fa2
commit 750b2d9431

View file

@ -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