From 36d7b8240c9cb0096fc603981dd41abd9f1e7915 Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Thu, 22 Jan 2015 09:36:07 +0100 Subject: Exclude images from the textureProvider branch. We already checked them just above, and since they are texture providers, they would falsely report true here leading to bugs.. Change-Id: I70e29f15333a00ca973c16f9f3396d216bc014df Reviewed-by: Laszlo Agocs --- src/effects/private/qgfxsourceproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/private/qgfxsourceproxy.cpp b/src/effects/private/qgfxsourceproxy.cpp index 5ee9280..a319e18 100644 --- a/src/effects/private/qgfxsourceproxy.cpp +++ b/src/effects/private/qgfxsourceproxy.cpp @@ -133,7 +133,7 @@ void QGfxSourceProxy::updatePolish() // item is an image with default tiling, use directly setOutput(m_input); - } else if (m_input->isTextureProvider() && m_input->childItems().size() == 0) { + } else if (!image && m_input->isTextureProvider() && m_input->childItems().size() == 0) { // item is a texture provider without children, use directly... setOutput(m_input); -- cgit v1.2.1