summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-05-28 08:20:34 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-05-28 11:18:43 (GMT)
commit4db48cbc4860010813b988b77d34a2606a444a3c (patch)
tree03ca3ffc99c4933fe2396cd54acb0fc4c8ff18d7 /src/opengl
parentd2377967485a9c0ba397bbbab250689b61e529f1 (diff)
downloadQt-4db48cbc4860010813b988b77d34a2606a444a3c.zip
Qt-4db48cbc4860010813b988b77d34a2606a444a3c.tar.gz
Qt-4db48cbc4860010813b988b77d34a2606a444a3c.tar.bz2
Fix build on X11/OpenGL ES 2.0
Reviewed-By: TrustMe
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qwindowsurface_gl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp
index a3422b5..965c7a5 100644
--- a/src/opengl/qwindowsurface_gl.cpp
+++ b/src/opengl/qwindowsurface_gl.cpp
@@ -405,8 +405,8 @@ void QGLWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoint &
drawTexture(rect, d_ptr->tex_id, window()->size(), rect);
}
}
-#endif
}
+#endif
d_ptr->paintedRegion = QRegion();
context()->swapBuffers();