aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/declarative/scenegraph/coreapi/qsgrenderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/scenegraph/coreapi/qsgrenderer.cpp b/src/declarative/scenegraph/coreapi/qsgrenderer.cpp
index e5c6bfb4f8..73d660b710 100644
--- a/src/declarative/scenegraph/coreapi/qsgrenderer.cpp
+++ b/src/declarative/scenegraph/coreapi/qsgrenderer.cpp
@@ -398,8 +398,8 @@ QSGRenderer::ClipType QSGRenderer::updateStencilClip(const QSGClipNode *clip)
// TODO: Check for multisampling and pixel grid alignment.
bool canUseScissor = clip->isRectangular()
- && qFuzzyIsNull(m(0, 1)) && qFuzzyIsNull(m(0, 2))
- && qFuzzyIsNull(m(1, 0)) && qFuzzyIsNull(m(1, 2));
+ && qFuzzyIsNull(m(0, 1)) && qFuzzyIsNull(m(1, 0))
+ && qFuzzyIsNull(m(3, 0)) && qFuzzyIsNull(m(3, 1));
if (canUseScissor) {
QRectF bbox = clip->clipRect();