mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
Merge 0947c05a52
into 0fa5d41c8d
This commit is contained in:
commit
448b8a773d
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue