Fix - blend using correct 'opacity'
This commit is contained in:
parent
d4ae5ac653
commit
0da7efdbac
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ class renderer_agg : util::noncopyable
|
||||||
mapbox::util::apply_visitor(
|
mapbox::util::apply_visitor(
|
||||||
group_renderer(renderer_, ras_, sl_, ren, mtx_, opacity_, symbol_bbox_), elem);
|
group_renderer(renderer_, ras_, sl_, ren, mtx_, opacity_, symbol_bbox_), elem);
|
||||||
}
|
}
|
||||||
ren_.blend_from(ren.ren(), 0, 0, 0, unsigned(g.opacity * 255));
|
ren_.blend_from(ren.ren(), 0, 0, 0, unsigned(opacity * 255));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue