[core][ios][android][macos] Use premultiplied image directly for RasterTile and ImageSource, un-premultiply in the shader for blending
This commit is contained in:
@@ -82,7 +82,7 @@ void RenderImageSource::update(Immutable<style::Source::Impl> baseImpl_,
|
||||
std::swap(baseImpl, baseImpl_);
|
||||
|
||||
auto coords = impl().getCoordinates();
|
||||
std::shared_ptr<UnassociatedImage> image = impl().getImage();
|
||||
std::shared_ptr<PremultipliedImage> image = impl().getImage();
|
||||
|
||||
if (!image || !image->valid()) {
|
||||
enabled = false;
|
||||
|
||||
Reference in New Issue
Block a user