From Qt 4.6 docs:
Makes no GL context the current context.
Normally, you
do not need to call
this function;
QGLContext calls it as necessary.
void QGLContext::doneCurrent () [virtual]
Makes no GL context the current context. Normally, you do not need to call this function; QGLContext calls it as necessary.
To copy to clipboard, switch view to plain text mode
Problem is multiple threads accesing one GLWindget? QGLContext is not thread safe. Use other means of syncing and then use only QGLContext::makeCurent()
it should do.
Bookmarks