mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-24 07:08:58 +00:00
sw_engine renderer: fix a crash issue.
This stroking composition condition must be initialized even when exceptional cases. We moved the condition setting to handle it always.
This commit is contained in:
parent
77e8a195b4
commit
ea969ad0e2
1 changed files with 2 additions and 2 deletions
|
@ -136,10 +136,10 @@ struct SwShapeTask : SwTask
|
|||
}
|
||||
}
|
||||
}
|
||||
if (addStroking == 2 && opacity < 255) compStroking = true;
|
||||
else compStroking = false;
|
||||
end:
|
||||
shapeDelOutline(&shape, tid);
|
||||
if (addStroking == 2 && opacity < 255) compStroking = true;
|
||||
else compStroking = false;
|
||||
}
|
||||
|
||||
bool dispose() override
|
||||
|
|
Loading…
Add table
Reference in a new issue