background: respect alpha in background images

This commit is contained in:
Wez Furlong committed 2022-05-30 08:51:48 -07:00
1 parent 7738f89381
commit 3ef533e858
1 file changed
+1 -1
+1 -1
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)