use getColor4f() in raster pipeline blitter
Change-Id: I08ac2bfc05efcd16c57e1782287d44eec7a63606 Reviewed-on: https://skia-review.googlesource.com/153642 Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: Mike Klein <mtklein@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
dfda5e3bd2
commit
aa5fc159f9
@ -113,7 +113,7 @@ SkBlitter* SkCreateRasterPipelineBlitter(const SkPixmap& dst,
|
||||
#else
|
||||
SkColorSpace* dstCS = dst.colorSpace();
|
||||
#endif
|
||||
SkPM4f paintColor = premul_in_dst_colorspace(paint.getColor(), dstCS);
|
||||
SkPM4f paintColor = premul_in_dst_colorspace(paint.getColor4f(), sk_srgb_singleton(), dstCS);
|
||||
|
||||
auto shader = as_SB(paint.getShader());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user