mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
[hvgl] Simplify loop for the compiler
Just in case.
This commit is contained in:
1 parent
a26a2c916a
commit
c8d7a55b14
1 file changed
+3
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user