diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-16 08:39:56 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-09-17 03:03:22 (GMT) |
commit | d3fa072c06dc3ca876ffea2b700f332d4425e56a (patch) | |
tree | f14e96eb81d08add8c95a69d5bfffdbaa7fb3dc4 /src | |
parent | 64e03f7ada9eb6af7c65dbea7a36ebcb3f4e67fb (diff) | |
download | Qt-d3fa072c06dc3ca876ffea2b700f332d4425e56a.zip Qt-d3fa072c06dc3ca876ffea2b700f332d4425e56a.tar.gz Qt-d3fa072c06dc3ca876ffea2b700f332d4425e56a.tar.bz2 |
context()->makeCurrent() is called above, so this is redundant.
Reviewed-by: Samuel
Diffstat (limited to 'src')
-rw-r--r-- | src/opengl/qwindowsurface_gl.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp index e89352d..b2420ba 100644 --- a/src/opengl/qwindowsurface_gl.cpp +++ b/src/opengl/qwindowsurface_gl.cpp @@ -443,8 +443,6 @@ void QGLWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoint & QRegion dirtyRegion = QRegion(window()->rect()) - d_ptr->paintedRegion; if (!dirtyRegion.isEmpty()) { - context()->makeCurrent(); - glMatrixMode(GL_MODELVIEW); glLoadIdentity(); |