[hvgl] Simplify loop for the compiler

Just in case.
This commit is contained in:
Behdad Esfahbod committed 2025-03-02 16:57:54 -07:00
1 parent a26a2c916a
commit c8d7a55b14
1 file changed
+3 -1
+3 -1
View File
@@ -89,8 +89,10 @@ PartShape::get_path_at (const struct hvgl &hvgl,
const auto delta = deltas.get_column (column_idx, axisCount, segmentCount);
unsigned count = hb_min (v.length, delta.length);
auto *dest = v.arrayZ;
const auto *src = delta.arrayZ;
for (unsigned i = 0; i < count; i++)
v.arrayZ[i] += scalar * delta.arrayZ[i];
dest[i] += src[i] * scalar;
}
}