Relax QOpenGLContext::swapBuffers() conditions.
authorSamuel Rødal <samuel.rodal@digia.com>
Thu, 8 Nov 2012 12:32:07 +0000 (13:32 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 8 Nov 2012 15:59:50 +0000 (16:59 +0100)
commit15b5ed3294dc03e51f84a9d0163283f35e570944
treeb5f2910fbdfcafb479c6aebcffc170510bdc18a8
parent96e3b44cdccdd42920fc2caf8749688919583d9d
Relax QOpenGLContext::swapBuffers() conditions.

There's no need to force the context to be current and the correct FBO
to be bound when swapBuffers() is called, as this can easily be handled
on a per-platform basis.

Change-Id: I7af5a082d6a2b03dfa2cdc874c27617139a781a9
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
src/gui/kernel/qopenglcontext.cpp