diff options
author | Timm Bäder <mail@baedert.org> | 2020-07-24 20:01:37 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-07-28 05:34:12 +0200 |
commit | 3f59566729303bda5bc74713399ac54e3d33bd31 (patch) | |
tree | b206c73f84013c7579eef6f4d831c6a8cf03943f /gsk | |
parent | e0420bae095b5bf2cda42cdcdb9007147ce6240c (diff) | |
download | gtk+-3f59566729303bda5bc74713399ac54e3d33bd31.tar.gz |
gl renderer: Repat node child bounds can't be NULL
Diffstat (limited to 'gsk')
-rw-r--r-- | gsk/gl/gskglrenderer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c index c4efc4c8cf..7346912eef 100644 --- a/gsk/gl/gskglrenderer.c +++ b/gsk/gl/gskglrenderer.c @@ -2443,8 +2443,7 @@ render_repeat_node (GskGLRenderer *self, if (node_is_invisible (child)) return; - if (child_bounds != NULL && - !graphene_rect_equal (child_bounds, &child->bounds)) + if (!graphene_rect_equal (child_bounds, &child->bounds)) { /* TODO: Implement these repeat nodes. */ render_fallback_node (self, node, builder); |