From c42ddc1003d3715567db16a5a03ad33b41840678 Mon Sep 17 00:00:00 2001
From: Alan Alpert <alan.alpert@nokia.com>
Date: Mon, 5 Mar 2012 13:31:56 +1000
Subject: [PATCH] Use premultiplied format because it's faster

Change-Id: I4d78830d2cf03f2deba70c29c2fc221eeec9d63c
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
---
 src/quick/particles/qquickimageparticle.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/quick/particles/qquickimageparticle.cpp b/src/quick/particles/qquickimageparticle.cpp
index 7f87dabe7d..ae1688b94d 100644
--- a/src/quick/particles/qquickimageparticle.cpp
+++ b/src/quick/particles/qquickimageparticle.cpp
@@ -1404,7 +1404,7 @@ void QQuickImageParticle::finishBuildParticleNodes()
         }
 
         if (colortable.isNull()){//###Goes through image just for this
-            colortable = QImage(1,1,QImage::Format_ARGB32);
+            colortable = QImage(1,1,QImage::Format_ARGB32_Premultiplied);
             colortable.fill(Qt::white);
         }
         getState<ImageMaterialData>(m_material)->colorTable = QSGPlainTexture::fromImage(colortable);
-- 
GitLab