gl renderer: Repat node child bounds can't be NULL

This commit is contained in:
Timm Bäder 2020-07-24 20:01:37 +02:00
parent e0420bae09
commit 3f59566729

View File

@ -2443,8 +2443,7 @@ render_repeat_node (GskGLRenderer *self,
if (node_is_invisible (child)) if (node_is_invisible (child))
return; return;
if (child_bounds != NULL && if (!graphene_rect_equal (child_bounds, &child->bounds))
!graphene_rect_equal (child_bounds, &child->bounds))
{ {
/* TODO: Implement these repeat nodes. */ /* TODO: Implement these repeat nodes. */
render_fallback_node (self, node, builder); render_fallback_node (self, node, builder);