strattonbrazil
07-23-2007, 08:18 AM
I'm using an application that renders several visualization widgets in OpenGL using GLSL. The application is heavily threaded and we started to see crashed when things using the shaders appeared in multiple windows.
Right now there is no context controls in the code, and was wondering if these crashes were because of it. If so, it there a good place to find more information on threaded OpenGL calls? I've tried a mutex lock on binding the GLSL calls and flushing the buffer with glFlush, but still get the crash.
Right now there is no context controls in the code, and was wondering if these crashes were because of it. If so, it there a good place to find more information on threaded OpenGL calls? I've tried a mutex lock on binding the GLSL calls and flushing the buffer with glFlush, but still get the crash.