[glyf] Minor micro-optimize

This commit is contained in:
Behdad Esfahbod committed 2025-07-20 07:19:23 -06:00
1 parent 0ce2b74fb1
commit 307a19f2c2
1 file changed
+2 -1
+2 -1
View File
@@ -386,7 +386,8 @@ struct glyf_accelerator_t
contour_point_t phantoms[glyf_impl::PHANTOM_COUNT];
success = get_points (font, gid, points_aggregator_t (font, nullptr, phantoms, false),
hb_array (font->coords, font->num_coords),
hb_array (font->coords,
font->has_nonzero_coords ? font->num_coords : 0),
scratch, gvar_cache);
if (unlikely (!success))
{