1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00

background: respect alpha in background images

This commit is contained in:
Wez Furlong 2022-05-30 08:51:48 -07:00
parent 7738f89381
commit 3ef533e858

View File

@ -86,7 +86,7 @@ void main() {
if (subpixel_aa) {
colorMask = o_fg_color.aaaa;
} else {
color.a = o_fg_color.a;
color.a *= o_fg_color.a;
}
} else if (o_has_color == 1.0) {
// the texture is full color info (eg: color emoji glyph)