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

This commit is contained in:
Emmanuele Bassi 2016-07-01 12:15:56 +01:00
parent 81e992e1ff
commit 1b1edcebd0

View File

@ -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;