forked from AuroraMiddleware/gtk
gl renderer: Handle blur nodes with invisible children
This commit is contained in:
parent
8afdbd6ee3
commit
77f8245c0c
@ -1446,6 +1446,9 @@ render_blur_node (GskGLRenderer *self,
|
|||||||
GskRenderNode *child = gsk_blur_node_get_child (node);
|
GskRenderNode *child = gsk_blur_node_get_child (node);
|
||||||
TextureRegion blurred_region;
|
TextureRegion blurred_region;
|
||||||
|
|
||||||
|
if (node_is_invisible (child))
|
||||||
|
return;
|
||||||
|
|
||||||
if (blur_radius <= 0)
|
if (blur_radius <= 0)
|
||||||
{
|
{
|
||||||
gsk_gl_renderer_add_render_ops (self, child, builder);
|
gsk_gl_renderer_add_render_ops (self, child, builder);
|
||||||
|
Loading…
Reference in New Issue
Block a user