[paint-extents] Minor move variable

This commit is contained in:
Behdad Esfahbod 2022-12-31 10:52:32 -07:00
parent 4e7807a090
commit f6dc4698ef
1 changed files with 2 additions and 3 deletions

View File

@ -238,8 +238,7 @@ struct hb_paint_extents_context_t {
hb_transform_t &t = transforms.tail (); hb_transform_t &t = transforms.tail ();
t.transform_extents (extents); t.transform_extents (extents);
hb_bounds_t b {extents}; clips.push (hb_bounds_t {extents});
clips.push (b);
} }
void pop_clip () void pop_clip ()
@ -249,7 +248,7 @@ struct hb_paint_extents_context_t {
void push_group () void push_group ()
{ {
groups.push (hb_bounds_t{hb_bounds_t::EMPTY}); groups.push (hb_bounds_t {hb_bounds_t::EMPTY});
} }
void pop_group (hb_paint_composite_mode_t mode) void pop_group (hb_paint_composite_mode_t mode)