[paint-extents] Return unbounded on memory allocation failure

This commit is contained in:
Behdad Esfahbod 2023-01-10 17:29:25 -07:00
parent 3e1c524e64
commit bf16dad55a
1 changed files with 2 additions and 2 deletions

View File

@ -149,9 +149,9 @@ typedef struct hb_transform_t
typedef struct hb_bounds_t
{
enum status_t {
EMPTY,
BOUNDED,
UNBOUNDED,
BOUNDED,
EMPTY,
};
hb_bounds_t (status_t status) : status (status) {}