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:
Carlos Garnacho 2020-03-27 23:28:48 +01:00
parent 2d94a34a14
commit d846fabda2

View File

@ -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);