kanato's picture

OpenGL Extensions test fails

Project:The Open Toolkit library
Category:bug report

The OpenGL Extensions test fails on Windows and Mac OS X (X11 untested) with a "OpenTK.Graphics.GraphicsContextMissingException: No context is current in the calling thread."

Tested on 1.0 branch. (Is 0.9.x-dev the right version to submit the issue to?)


Comment viewing options

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


I can fix this by adding control.MakeCurrent inside the using block in Extensions.StartAsync, however the background worker thread then gets a null reference exception due to the return value of delegates.GetField(f.EntryPoint) being null.

the Fiddler's picture


Status:open» confirmed

I haven't had the time to look into the null reference exception yet, but I think this might be caused by the GL class no longer being static.

the Fiddler's picture


Status:confirmed» fixed

Fixed in r2519 (the context is now made current and code is more defensive when loading entry points).

the Fiddler's picture


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

Closing issues fixed in 1.0 beta-2.