[gtk+] gsk: Use the node's blend mode in the GL renderer



commit 1b1edcebd0aa477704c05c5217e2b356f12c1b27
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Jul 1 12:15:56 2016 +0100

    gsk: Use the node's blend mode in the GL renderer

 gsk/gskglrenderer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskglrenderer.c b/gsk/gskglrenderer.c
index 6c634ad..d9d6540 100644
--- a/gsk/gskglrenderer.c
+++ b/gsk/gskglrenderer.c
@@ -766,7 +766,7 @@ gsk_gl_renderer_add_render_item (GskGLRenderer *self,
   item.opaque = gsk_render_node_is_opaque (node);
   item.opacity = gsk_render_node_get_opacity (node);
 
-  item.blend_mode = parent != NULL ? GSK_BLEND_MODE_MULTIPLY : GSK_BLEND_MODE_DEFAULT;
+  item.blend_mode = gsk_render_node_get_blend_mode (node);
 
   /* GL objects */
   item.render_data.vao_id = self->vao_id;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]