summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-06-09 02:58:10 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-06-09 02:58:10 (GMT)
commit6d4fe549e7a258913b19f52e29bcfb84cc8a97ad (patch)
tree47b99aad8a84eb9ee68e9f2ffd5436bd5d5dde5e /src/opengl/qgl.cpp
parent1be6074e180d9936c8421125da1788e37d4204c0 (diff)
downloadQt-6d4fe549e7a258913b19f52e29bcfb84cc8a97ad.zip
Qt-6d4fe549e7a258913b19f52e29bcfb84cc8a97ad.tar.gz
Qt-6d4fe549e7a258913b19f52e29bcfb84cc8a97ad.tar.bz2
Fix build breakage from 1bbe23c5 - endif in the wrong place
Reviewed-by: trustme
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r--src/opengl/qgl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp
index 37a9916..146d088 100644
--- a/src/opengl/qgl.cpp
+++ b/src/opengl/qgl.cpp
@@ -4438,8 +4438,8 @@ void QGLDrawable::makeCurrent()
#if !defined(QT_OPENGL_ES_1) && !defined(QT_OPENGL_ES_1_CL)
if (!pixmapData && !fbo) {
#else
-#endif
if (!fbo) {
+#endif
QGLContext *ctx = context();
previous_fbo = ctx->d_ptr->current_fbo;
ctx->d_ptr->current_fbo = 0;