summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEckhart Koppen <eckhart.koppen@nokia.com>2011-03-22 11:57:57 (GMT)
committerEckhart Koppen <eckhart.koppen@nokia.com>2011-03-22 16:36:23 (GMT)
commitcf80df787f3861e12f1045d88a356c7a51e0302b (patch)
tree4216fb0c499f8c3c9d32aae86d43a6d809cb647a
parenteb018fdc114f5c4f30c19ad168dd029c8d1e98e8 (diff)
downloadQt-cf80df787f3861e12f1045d88a356c7a51e0302b.zip
Qt-cf80df787f3861e12f1045d88a356c7a51e0302b.tar.gz
Qt-cf80df787f3861e12f1045d88a356c7a51e0302b.tar.bz2
Handle removal of setter for partialUpdateSupport
The setter was removed as part of merge request 1136. This commit fixes the Symbian build where Q_NO_EGL is undefined. Reviewed-by: Samuel Rødal
-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 4ac7b22..2ccbc50 100644
--- a/src/opengl/qwindowsurface_gl.cpp
+++ b/src/opengl/qwindowsurface_gl.cpp
@@ -494,7 +494,7 @@ void QGLWindowSurface::hijackWindow(QWidget *widget)
bool swapBehaviourPreserved = (ctx->d_func()->eglContext->configAttrib(EGL_SWAP_BEHAVIOR) != EGL_BUFFER_PRESERVED)
|| (ctx->d_func()->eglContext->configAttrib(EGL_SURFACE_TYPE)&EGL_SWAP_BEHAVIOR_PRESERVED_BIT);
if (!swapBehaviourPreserved && !haveNOKSwapRegion)
- setPartialUpdateSupport(false); // Force full-screen updates
+ d_ptr->partialUpdateSupport = false; // Force full-screen updates
else
d_ptr->partialUpdateSupport = true;
#else