
GLControl GraphicsContextException
Posted Wednesday, 2 September, 2009 - 17:43 by iliak| Project: | The Open Toolkit library |
| Version: | 0.9.9-2b |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
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
#1
A simple project showing the error : http://www.2shared.com/file/7539769/aee3ace7/WindowsFormsApplication1.ht...
#2
Finally managed to get my Windows partition to boot and have reproduced the issue, investigating.
#3
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.
#4
Fixed in rev. 2206.
#5
Closing issues fixed in 0.9.9-2.