Blame SOURCES/qtdeclarative-QQuickShaderEffectSource_deadlock.patch

2ab645
--- qtdeclarative-opensource-src-5.4.2/src/quick/items/qquickshadereffectsource.cpp	2015-06-30 07:30:51.938794778 +0200
2ab645
+++ qtdeclarative-opensource-src-5.4.2/src/quick/items/qquickshadereffectsource.cpp.orig	2015-06-30 07:29:47.019163937 +0200
2ab645
@@ -632,8 +632,12 @@ 
2ab645
 
2ab645
     const QSize minTextureSize = d->sceneGraphContext()->minimumFBOSize();
2ab645
     // Keep power-of-two by doubling the size.
2ab645
+    if (textureSize.width() < 1)
2ab645
+       textureSize.rwidth() = 1;
2ab645
     while (textureSize.width() < minTextureSize.width())
2ab645
         textureSize.rwidth() *= 2;
2ab645
+    if (textureSize.height() < 1)
2ab645
+       textureSize.rheight() = 1;
2ab645
     while (textureSize.height() < minTextureSize.height())
2ab645
         textureSize.rheight() *= 2;
2ab645