Dont do doneCurrent in swapBuffers

This commit is contained in:
Jørgen Lind 2011-05-05 17:34:07 +02:00
parent 0df9ee335c
commit 1edc451057

View 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());
}