1
1

Overlay: Fix overlay image shaders

Regression introduced in 18b45aabf9.
Caused by a bad merge.
This commit is contained in:
2022-09-23 23:25:14 +02:00
parent c2a21dfb77
commit fd2668a368

View File

@@ -6,7 +6,7 @@ void main()
vec4 tex_color;
tex_color = texture_read_as_linearrgb(imgTexture, imgPremultiplied, uvs_clamped);
fragColor = tex_color * color;
fragColor = tex_color * ucolor;
if (!imgAlphaBlend) {
/* Arbitrary discard anything below 5% opacity.