summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-11 11:25:03 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-11-11 11:25:03 (GMT)
commitb111d0bb1f0483d507c758810a0f247cb8dd82c0 (patch)
tree9db9a693360c607a53d1ec8c3c421b338fb53fef /src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
parent3e2c214dc217ac677733e2a56ac9f17ff0c3196f (diff)
parent95db13345cd7b6b7cac8725fe2879aaf80233818 (diff)
downloadQt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.zip
Qt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.tar.gz
Qt-b111d0bb1f0483d507c758810a0f247cb8dd82c0.tar.bz2
Merge commit 'origin/4.6' into 4.6-ce
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp')
-rw-r--r--src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
index 8228c7e..8c5bf0e 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
@@ -2107,7 +2107,7 @@ void QGL2PaintEngineExPrivate::systemStateChanged()
q->state()->rectangleClip = use_system_clip ? systemClip.boundingRect() : QRect(0, 0, width, height);
updateClipScissorTest();
- if (systemClip.numRects() == 1) {
+ if (systemClip.rectCount() == 1) {
if (systemClip.boundingRect() == QRect(0, 0, width, height))
use_system_clip = false;
#ifndef QT_GL_NO_SCISSOR_TEST