diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2019-04-01 15:22:28 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2019-04-01 15:24:22 +0300 |
commit | 9aa02769f69ecf5f1204494efd1686af7160baef (patch) | |
tree | 9ed57808b60a8fcd35aede63a957009bb4a9eed4 /src/runtime/shaders/distancefieldtext_dropshadow.frag | |
parent | 22203c3521bc0213226c0c01d8782f0d0656da1e (diff) | |
parent | 5e0bfe934b9930b7e41d457b4f88fce91342a0ea (diff) |
Merge branch '2.3'
Change-Id: I45789a62b7e94717257a1a9ef7030124fbee69c3
Diffstat (limited to 'src/runtime/shaders/distancefieldtext_dropshadow.frag')
-rw-r--r-- | src/runtime/shaders/distancefieldtext_dropshadow.frag | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/shaders/distancefieldtext_dropshadow.frag b/src/runtime/shaders/distancefieldtext_dropshadow.frag index da51c5c..94b277c 100644 --- a/src/runtime/shaders/distancefieldtext_dropshadow.frag +++ b/src/runtime/shaders/distancefieldtext_dropshadow.frag @@ -15,7 +15,7 @@ void main() clamp(shadowSampleCoord, normalizedTextureBounds.xy, normalizedTextureBounds.zw)).a); - highp vec4 shadowPixel = shadowColor * shadowAlpha; + highp vec4 shadowPixel = color * shadowColor * shadowAlpha; highp float textAlpha = smoothstep(alphas.x, alphas.y, |