aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-03-14 09:30:12 +0100
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-03-14 09:30:12 +0100
commit11484c7f64b5942994a1d1a07f4e7f4d86e94e83 (patch)
treef0c901d1d15d0bcb8ce572a04b094e510cd86ddd /src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
parenta1a7679028eda395d74cd1247a8c3ed46ac3bef1 (diff)
parentb58953fae3dc80c52e846d2d87856dd20b8986ab (diff)
Merge remote-tracking branch 'origin/stable' into dev
Conflicts: tests/auto/qml/debugger/qv8profilerservice/qv8profilerservice.pro Change-Id: I2fd99ed8bd03302b9bbf31e6f21990f6455c4f1c
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultglyphnode_p.cpp')
-rw-r--r--src/quick/scenegraph/qsgdefaultglyphnode_p.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
index b65686e628..9e0cfca069 100644
--- a/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
+++ b/src/quick/scenegraph/qsgdefaultglyphnode_p.cpp
@@ -96,7 +96,7 @@ const char *QSGTextMaskMaterialData::fragmentShader() const {
"uniform sampler2D texture; \n"
"uniform lowp vec4 color; \n"
"void main() { \n"
- " gl_FragColor = vec4(texture2D(texture, sampleCoord).rgb, 1.0); \n"
+ " gl_FragColor = vec4(texture2D(texture, sampleCoord).rgb * color.a, 1.0); \n"
"}";
}