mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-10 06:34:01 +00:00
sw_engine: ++exception handling
prevent the out of range anti-aliasing frames. issue: https://github.com/thorvg/thorvg/issues/2401
This commit is contained in:
parent
8332ee3b95
commit
8b5d2e4a13
1 changed files with 3 additions and 0 deletions
|
@ -924,6 +924,9 @@ static void _calcAAEdge(AASpans *aaSpans, int32_t eidx)
|
|||
|
||||
//Calculates AA Edges
|
||||
for (y++; y < yEnd; y++) {
|
||||
|
||||
if (lines[y].x[0] == INT32_MAX) continue;
|
||||
|
||||
//Ready tx
|
||||
if (eidx == 0) {
|
||||
tx[0] = pEdge.x;
|
||||
|
|
Loading…
Add table
Reference in a new issue