mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
gl renderer: Skip invisible shadows
This commit is contained in:
parent
dc7bf31b6e
commit
ccb9877534
@ -1807,6 +1807,9 @@ render_shadow_node (GskGLRenderer *self,
|
||||
continue;
|
||||
}
|
||||
|
||||
if (gdk_rgba_is_clear (&shadow->color))
|
||||
continue;
|
||||
|
||||
min_x = builder->dx + shadow_child->bounds.origin.x;
|
||||
min_y = builder->dy + shadow_child->bounds.origin.y;
|
||||
max_x = min_x + shadow_child->bounds.size.width;
|
||||
|
Loading…
Reference in New Issue
Block a user