summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-05-05 15:34:07 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-05-05 15:34:07 (GMT)
commit3a93262bcf39de34c3655ca83642c1a5bb3a7d96 (patch)
treed7d6dd4ec365f8768f08f3e65df1d9a6435b659c
parent18a05b0d40a8b569e369248c748a9ed65883f522 (diff)
downloadQt-3a93262bcf39de34c3655ca83642c1a5bb3a7d96.zip
Qt-3a93262bcf39de34c3655ca83642c1a5bb3a7d96.tar.gz
Qt-3a93262bcf39de34c3655ca83642c1a5bb3a7d96.tar.bz2
Dont do doneCurrent in swapBuffers
-rw-r--r--src/plugins/platforms/xcb/qglxintegration.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qglxintegration.cpp b/src/plugins/platforms/xcb/qglxintegration.cpp
index 190221c..1417157 100644
--- a/src/plugins/platforms/xcb/qglxintegration.cpp
+++ b/src/plugins/platforms/xcb/qglxintegration.cpp
@@ -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());
}