mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-27 16:49:42 +01:00
[hvgl] Micro-optimize
This commit is contained in:
1 parent
460f0f1996
commit
241304b2ca
1 file changed
+1
-1
@@ -208,7 +208,7 @@ PartShape::get_path_at (const struct hvgl &hvgl,
|
||||
{
|
||||
unsigned end = start + pathSegmentCount;
|
||||
|
||||
if (unlikely (end > segmentCount || end * 4 > v.length))
|
||||
if (unlikely (end * 4 > v.length))
|
||||
break;
|
||||
|
||||
// Resolve blend type
|
||||
|
||||
Reference in new issue
Block a user