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 12:03:03 (GMT)
commitc8df7acf91576e9fd517ac843ba76ca195fdbbd0 (patch)
tree4216fb0c499f8c3c9d32aae86d43a6d809cb647a
parent6a5431fac659799496df5da3991c1a487d30b476 (diff)
downloadQt-c8df7acf91576e9fd517ac843ba76ca195fdbbd0.zip
Qt-c8df7acf91576e9fd517ac843ba76ca195fdbbd0.tar.gz
Qt-c8df7acf91576e9fd517ac843ba76ca195fdbbd0.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