This commit is contained in:
Mira Grudzinska 2025-06-06 01:18:13 +09:00 committed by GitHub
commit 448b8a773d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,8 +113,8 @@ static void _rasterBlendingPolygonImageSegment(SwSurface* surface, const SwImage
y = yStart;
while (y < yEnd) {
x1 = (int32_t)_xa;
x2 = (int32_t)_xb;
x1 = nearbyint(_xa);
x2 = nearbyint(_xb);
if (!bbox) {
minx = INT32_MAX;
@ -246,8 +246,8 @@ static void _rasterPolygonImageSegment(SwSurface* surface, const SwImage* image,
y = yStart;
while (y < yEnd) {
x1 = (int32_t)_xa;
x2 = (int32_t)_xb;
x1 = nearbyint(_xa);
x2 = nearbyint(_xb);
if (!bbox) {
minx = INT32_MAX;