aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/shaders/outlinedtext.frag
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/shaders/outlinedtext.frag')
-rw-r--r--src/quick/scenegraph/shaders/outlinedtext.frag2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/shaders/outlinedtext.frag b/src/quick/scenegraph/shaders/outlinedtext.frag
index 5fe2b14e24..1075261d5f 100644
--- a/src/quick/scenegraph/shaders/outlinedtext.frag
+++ b/src/quick/scenegraph/shaders/outlinedtext.frag
@@ -17,5 +17,5 @@ void main()
texture2D(_qt_texture, sCoordRight).a,
0.0, 1.0) - glyph,
0.0, 1.0);
- gl_FragColor = outline * styleColor;
+ gl_FragColor = outline * styleColor + step(1.0 - glyph, 1.0) * glyph * color;
}