[paint-extents] Minor refactor

This commit is contained in:
Behdad Esfahbod 2022-12-24 10:12:35 -07:00
parent f8bf98798d
commit 988ca459f3
1 changed files with 1 additions and 2 deletions

View File

@ -172,8 +172,7 @@ typedef struct hb_bounds_t
else if (status == BOUNDED)
{
extents.intersect (o.extents);
if (extents.xmin >= extents.xmax ||
extents.ymin >= extents.ymax)
if (extents.is_empty ())
status = EMPTY;
}
}