AdrianPi's picture

LoadAll missing

Project:The Open Toolkit library
Version:1.0-beta-1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

After updating to 0.9.8.3 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?


Comments

Comment viewing options

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

#1

Status:open» confirmed

Working on it for the next release.

the Fiddler's picture

#2

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

#3

Great! Thanks!

the Fiddler's picture

#4

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

Closing issues fixed in 1.0 beta-1.