summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-01-05 18:14:51 +0100
committerTimm Bäder <mail@baedert.org>2018-01-08 17:44:33 +0100
commit3176ae7e517839ca19e1dd9aaee02fbefc852d37 (patch)
tree93de536dee46e5c16490359095b17971ebab4439 /gsk
parent5ce2d77691743945ac63f6f63f98156dc7b8972b (diff)
downloadgtk+-3176ae7e517839ca19e1dd9aaee02fbefc852d37.tar.gz
gl renderer: Use alpha uniform in inset shadow shader
Diffstat (limited to 'gsk')
-rw-r--r--gsk/resources/glsl/inset_shadow.fs.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/resources/glsl/inset_shadow.fs.glsl b/gsk/resources/glsl/inset_shadow.fs.glsl
index b6bb87c82a..87a7205de2 100644
--- a/gsk/resources/glsl/inset_shadow.fs.glsl
+++ b/gsk/resources/glsl/inset_shadow.fs.glsl
@@ -23,5 +23,5 @@ void main() {
color = color * clamp (rounded_rect_coverage (outline, f.xy) -
rounded_rect_coverage (inside, f.xy - offset),
0.0, 1.0);
- setOutputColor(color);
+ setOutputColor(color * u_alpha);
}