From 1b1edcebd0aa477704c05c5217e2b356f12c1b27 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 1 Jul 2016 12:15:56 +0100 Subject: [PATCH] gsk: Use the node's blend mode in the GL renderer --- gsk/gskglrenderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsk/gskglrenderer.c b/gsk/gskglrenderer.c index 6c634ad795..d9d6540eb8 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;