summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-05-05 17:34:07 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2011-05-05 18:11:57 +0200
commit1edc4510572b6a10f2b6ee16697204cd95114fda (patch)
treef6e9fc0e49c100a4978bac0f96bccbca50345d0e /src/plugins/platforms/xcb
parent0df9ee335c933465b8028cfdf289e2d6532ab031 (diff)
Dont do doneCurrent in swapBuffers
Diffstat (limited to 'src/plugins/platforms/xcb')
-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 190221c5f4..1417157bdf 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());
}