diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2016-03-07 19:32:12 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@theqtcompany.com> | 2016-03-07 19:32:12 +0100 |
commit | f086de0f3a67698b8066576a423298aadf566e13 (patch) | |
tree | 984c2b01b60d23c77198e80dfa5053c1cd51f622 | |
parent | 74d92ef80f5e13f2e10a592e0389a10bbeab189e (diff) | |
parent | 617b0385f34f0c515694c703ddf94395197859fb (diff) | |
download | qtgraphicaleffects-f086de0f3a67698b8066576a423298aadf566e13.tar.gz |
Merge remote-tracking branch 'origin/5.6' into 5.7
Change-Id: Ia45746813799ea967fe8f601d2599646c688e13e
-rw-r--r-- | src/effects/private/qgfxsourceproxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/private/qgfxsourceproxy.cpp b/src/effects/private/qgfxsourceproxy.cpp index 201e191..f917865 100644 --- a/src/effects/private/qgfxsourceproxy.cpp +++ b/src/effects/private/qgfxsourceproxy.cpp @@ -161,7 +161,7 @@ void QGfxSourceProxy::updatePolish() } else if (childless && interpOk) { if (shaderSource) { - if (shaderSource->sourceRect() == m_sourceRect) + if (shaderSource->sourceRect() == m_sourceRect || m_sourceRect.isEmpty()) direct = true; } else if (!padded && ((image && image->fillMode() == QQuickImage::Stretch) |