Fixed distance field text when using non-opaque colors.
authorYoann Lopes <yoann.lopes@digia.com>
Thu, 21 Mar 2013 15:34:38 +0000 (16:34 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 6 Apr 2013 08:10:31 +0000 (10:10 +0200)
commit0b190b7114c816689eeb8478ea5151732bc7a5de
tree3d92604a6f789e1d14359cd2b2a83dfb1b94692c
parentd01e595d362fcc8347f410eecdf055f80dd5423f
Fixed distance field text when using non-opaque colors.

The alpha has to be premultiplied before passing the color to the
shader.

Change-Id: If22f0e0892eb4330d5f7398bea2710fce18c4dcb
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/quick/scenegraph/qsgdistancefieldglyphnode_p.cpp
src/quick/scenegraph/qsgdistancefieldglyphnode_p_p.h