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:
Hermet Park 2020-12-07 19:52:56 +09:00
parent 77e8a195b4
commit ea969ad0e2

View file

@ -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