AdrianPi's picture

LoadAll missing

Project:The Open Toolkit library
Category:feature request

After updating to I'm missing the LoadAll method in GL class.

What should I do to load GL delegates without deprecation warnings?

Is this fixed in 0.9.9-3?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture


Status:open» confirmed

Working on it for the next release.

the Fiddler's picture


Version:0.9.8-3» 0.9.x-dev
Status:confirmed» fixed

Fixed in rev. 2449.

The GL.LoadAll() method is restored and there is a new way of interacting with external contexts:

// Construct a GraphicsContext from an external context handle. Also initializes OpenGL.
IGraphicsContext context = new GraphicsContext(handle, window);

This constructs a GraphicsContext instance for an "external" context which can then be used as if the context was constructed through OpenTK from the beginning. (It can also be ignored completely, if desired).

AdrianPi's picture


Great! Thanks!

the Fiddler's picture


Version:0.9.x-dev» 1.0-beta-1
Status:fixed» closed

Closing issues fixed in 1.0 beta-1.