mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
cogl-pango: Forward alpha from correct color
Use the override color alpha, if set. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1155
This commit is contained in:
parent
2d94a34a14
commit
d846fabda2
@ -421,7 +421,7 @@ _cogl_pango_display_list_render (CoglFramebuffer *fb,
|
||||
cogl_color_get_red_byte (&node->color),
|
||||
cogl_color_get_green_byte (&node->color),
|
||||
cogl_color_get_blue_byte (&node->color),
|
||||
cogl_color_get_alpha_byte (color));
|
||||
cogl_color_get_alpha_byte (&node->color));
|
||||
else
|
||||
draw_color = *color;
|
||||
cogl_color_premultiply (&draw_color);
|
||||
|
Loading…
Reference in New Issue
Block a user