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
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ _cogl_pango_display_list_render (CoglFramebuffer *fb,
|
||||||
cogl_color_get_red_byte (&node->color),
|
cogl_color_get_red_byte (&node->color),
|
||||||
cogl_color_get_green_byte (&node->color),
|
cogl_color_get_green_byte (&node->color),
|
||||||
cogl_color_get_blue_byte (&node->color),
|
cogl_color_get_blue_byte (&node->color),
|
||||||
cogl_color_get_alpha_byte (color));
|
cogl_color_get_alpha_byte (&node->color));
|
||||||
else
|
else
|
||||||
draw_color = *color;
|
draw_color = *color;
|
||||||
cogl_color_premultiply (&draw_color);
|
cogl_color_premultiply (&draw_color);
|
||||||
|
|
Loading…
Reference in a new issue