Dont do doneCurrent in swapBuffers
authorJørgen Lind <jorgen.lind@nokia.com>
Thu, 5 May 2011 15:34:07 +0000 (17:34 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Thu, 5 May 2011 16:11:57 +0000 (18:11 +0200)
src/plugins/platforms/xcb/qglxintegration.cpp

index 190221c..1417157 100644 (file)
@@ -110,7 +110,6 @@ void QGLXContext::swapBuffers()
 {
     Q_XCB_NOOP(m_screen->connection());
     glXSwapBuffers(DISPLAY_FROM_XCB(m_screen), m_drawable);
-    doneCurrent();
     Q_XCB_NOOP(m_screen->connection());
 }