diff options
author | David Boddie <dboddie@trolltech.com> | 2010-09-02 13:43:17 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-09-02 13:43:17 (GMT) |
commit | 2bb571fe49d05b06b13aedc4f7fb71cbb1c949be (patch) | |
tree | ac37be379829c9aa5e9853763cb7f7d1a22464b8 /src/opengl/qgl.cpp | |
parent | 0d54ade501443d8a3b0e756520f6c43e602f1283 (diff) | |
parent | 7aed1cf06ed7b50f060ebce7a5a041c752989307 (diff) | |
download | Qt-2bb571fe49d05b06b13aedc4f7fb71cbb1c949be.zip Qt-2bb571fe49d05b06b13aedc4f7fb71cbb1c949be.tar.gz Qt-2bb571fe49d05b06b13aedc4f7fb71cbb1c949be.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r-- | src/opengl/qgl.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 943a195..c49dba4 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2103,11 +2103,8 @@ void QGLContextPrivate::syncGlState() #ifdef QT_NO_EGL void QGLContextPrivate::swapRegion(const QRegion *) { - static bool firstWarning = true; - if (firstWarning) { - qWarning() << "::swapRegion called but not supported!"; - firstWarning = false; - } + Q_Q(QGLContext); + q->swapBuffers(); } #endif |