From d846fabda23bd592e3ccf1ce52cc84c4974f49c1 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 27 Mar 2020 23:28:48 +0100 Subject: [PATCH] cogl-pango: Forward alpha from correct color Use the override color alpha, if set. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1155 --- cogl/cogl-pango/cogl-pango-display-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl-pango/cogl-pango-display-list.c b/cogl/cogl-pango/cogl-pango-display-list.c index e4bb1275d..0483f46e3 100644 --- a/cogl/cogl-pango/cogl-pango-display-list.c +++ b/cogl/cogl-pango/cogl-pango-display-list.c @@ -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);