Skip to content

Commit e15175e

Browse files
Update ScanEdgeCollection.Build.cs
1 parent 9d4d0ac commit e15175e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp.Drawing/Shapes/Rasterization/ScanEdgeCollection.Build.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ static void RoundY(ReadOnlySpan<PointF> vertices, Span<float> destination, float
190190
Vector128<float> pointsY = AdvSimdShuffle(points1, points2, 0b11_01_11_01);
191191

192192
// Multiply by the subsampling ratio, round, then multiply by the inverted subsampling ratio and assign.
193-
Vector128<float> rounded = AdvSimd.RoundAwayFromZero(Sse.Multiply(pointsY, ssRatio));
193+
Vector128<float> rounded = AdvSimd.RoundAwayFromZero(AdvSimd.Multiply(pointsY, ssRatio));
194194
Unsafe.Add(ref destinationBase, i) = AdvSimd.Multiply(rounded, inverseSsRatio);
195195
}
196196
}

0 commit comments

Comments
 (0)