Blame qtdeclarative-QQuickShaderEffectSource_deadlock.patch

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