background: respect alpha in background images
This commit is contained in:
1 parent
7738f89381
commit
3ef533e858
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user