mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-29 17:44:06 +01:00
[hvgl] Micro-optimize
This commit is contained in:
1 parent
494b13a8ae
commit
67e119d51d
1 file changed
+3
-3
@@ -447,9 +447,6 @@ PartComposite::apply_to_transforms (hb_array_t<hb_transform_t<double>> transform
|
||||
|
||||
while (true)
|
||||
{
|
||||
auto extremum_translation_delta = Null(TranslationDelta);
|
||||
auto extremum_rotation_delta = Null(HBFLOAT32LE);
|
||||
|
||||
bool has_row_translation = extremum_translation_count &&
|
||||
extremum_translation_indices->row == row;
|
||||
bool has_row_rotation = extremum_rotation_count &&
|
||||
@@ -463,6 +460,9 @@ PartComposite::apply_to_transforms (hb_array_t<hb_transform_t<double>> transform
|
||||
if (column == 2 * axisCount)
|
||||
break;
|
||||
|
||||
auto extremum_translation_delta = Null(TranslationDelta);
|
||||
auto extremum_rotation_delta = Null(HBFLOAT32LE);
|
||||
|
||||
if (has_row_translation &&
|
||||
extremum_translation_indices->column == column)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user