mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-23 22:58:44 +00:00
sw_engine renderer: fix a regression bug.
recover a broken shape+stroking opacity that introduced in ealier refactoring...
This commit is contained in:
parent
7e6f30830b
commit
c3d0a79d3e
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ bool SwRenderer::renderShape(RenderData data, TVG_UNUSED Compositor* cmp)
|
||||||
//CompositeMethod::None is used for a default alpha blending
|
//CompositeMethod::None is used for a default alpha blending
|
||||||
cmp2 = addCompositor(x, y, w, h);
|
cmp2 = addCompositor(x, y, w, h);
|
||||||
cmp2->method = CompositeMethod::None;
|
cmp2->method = CompositeMethod::None;
|
||||||
cmp2->opacity = opacity;
|
cmp2->opacity = task->opacity;
|
||||||
//No Composition
|
//No Composition
|
||||||
} else {
|
} else {
|
||||||
opacity = task->opacity;
|
opacity = task->opacity;
|
||||||
|
|
Loading…
Add table
Reference in a new issue