gl renderer: Handle blur nodes with invisible children

This commit is contained in:
Timm Bäder 2020-01-22 08:38:41 +01:00
parent 8afdbd6ee3
commit 77f8245c0c

View File

@ -1446,6 +1446,9 @@ render_blur_node (GskGLRenderer *self,
GskRenderNode *child = gsk_blur_node_get_child (node);
TextureRegion blurred_region;
if (node_is_invisible (child))
return;
if (blur_radius <= 0)
{
gsk_gl_renderer_add_render_ops (self, child, builder);