projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9f1cdd
)
Use premultiplied format because it's faster
author
Alan Alpert
<alan.alpert@nokia.com>
Mon, 5 Mar 2012 03:31:56 +0000
(13:31 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Mon, 5 Mar 2012 08:49:49 +0000
(09:49 +0100)
Change-Id: I4d78830d2cf03f2deba70c29c2fc221eeec9d63c
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/quick/particles/qquickimageparticle.cpp
patch
|
blob
|
history
diff --git
a/src/quick/particles/qquickimageparticle.cpp
b/src/quick/particles/qquickimageparticle.cpp
index
7f87dab
..
ae1688b
100644
(file)
--- 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);