I am loading images from disk on a thread and intermittently get a crash (in the same place every time). There does not seem to be a valid opengl context i think
Here is a screenshot of the crash
I cant seem to work out whats going wrong. Only thing that i am doing on the main thread while the images are loading is drawing a circle.
ci::gl::clear(ci::ColorAf(0.41f, 0.65f, 0.05f, 1.f));