Fix - blend using correct 'opacity'

This commit is contained in:
Artem Pavlenko 2022-11-21 19:06:53 +00:00
parent d4ae5ac653
commit 0da7efdbac

View file

@ -293,7 +293,7 @@ class renderer_agg : util::noncopyable
mapbox::util::apply_visitor(
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
{