[mutter/wip/carlosg/pango-alpha: 2/2] cogl-pango: Forward alpha from correct color
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/carlosg/pango-alpha: 2/2] cogl-pango: Forward alpha from correct color
- Date: Fri, 27 Mar 2020 22:32:42 +0000 (UTC)
commit c1ead47cb205a48ba9be487e611cf56667b79d12
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Mar 27 23:28:48 2020 +0100
cogl-pango: Forward alpha from correct color
Use the override color alpha, if set.
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]