iliak's picture

GLControl GraphicsContextException

Project:The Open Toolkit library
Version:0.9.9-2b
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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


Comments

Comment viewing options

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

#1

the Fiddler's picture

#2

Status:open» confirmed

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

the Fiddler's picture

#3

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

#4

Status:in progress» fixed

Fixed in rev. 2206.

the Fiddler's picture

#5

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

Closing issues fixed in 0.9.9-2.