summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-08-03 12:03:28 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-08-03 12:03:28 (GMT)
commit34a3b5d2a0c86a534b9d7b036fb1aaf1eb1c65b1 (patch)
tree226d24a4a971f41465a729b8bb1cf7b27224950a /src/opengl
parentd5491ecdde14659a913c9f476f18c45f1d9489bb (diff)
downloadQt-34a3b5d2a0c86a534b9d7b036fb1aaf1eb1c65b1.zip
Qt-34a3b5d2a0c86a534b9d7b036fb1aaf1eb1c65b1.tar.gz
Qt-34a3b5d2a0c86a534b9d7b036fb1aaf1eb1c65b1.tar.bz2
QGLWindowSurface does not support partialupdates if not EGL is defined
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qwindowsurface_gl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp
index ef115bd..b3c9df1 100644
--- a/src/opengl/qwindowsurface_gl.cpp
+++ b/src/opengl/qwindowsurface_gl.cpp
@@ -370,6 +370,8 @@ void QGLWindowSurface::hijackWindow(QWidget *widget)
setPartialUpdateSupport(false); // Force full-screen updates
else
setPartialUpdateSupport(true);
+#else
+ setPartialUpdateSupport(false);
#endif
widgetPrivate->extraData()->glContext = ctx;