iliak's picture

GLControl GraphicsContextException

Project:The Open Toolkit library
Category:bug report

When adding a GLControl to a form in design mode, the following error is thrown :
Exception of type OpenTK.Graphics.GraphicsContextException is fired

Trace :
OpenTK.GLControl.OnHandleCreated(EventArgs e);

On line 210 of (GLControl.cs), Context is null.

svn version 2204


Comment viewing options

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


the Fiddler's picture


Status:open» confirmed

Finally managed to get my Windows partition to boot and have reproduced the issue, investigating.

the Fiddler's picture


Status:confirmed» in progress

Fixed part of the issue that affected running GLControls on Windows. The design-mode GLControls are proving a more difficult case to crack: OpenTK trunk is even more stringent with runtime GraphicsContext checks prior to loading/using OpenGL methods and it actually trips when using DummyGLContexts for designer support.

the Fiddler's picture


Status:in progress» fixed

Fixed in rev. 2206.

the Fiddler's picture


Version:0.9.x-dev» 0.9.9-2b
Status:fixed» closed

Closing issues fixed in 0.9.9-2.