diff options
Diffstat (limited to 'src/core/SkConfig8888.cpp')
-rw-r--r-- | src/core/SkConfig8888.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkConfig8888.cpp b/src/core/SkConfig8888.cpp index 3906a9a1ef..08635a2b84 100644 --- a/src/core/SkConfig8888.cpp +++ b/src/core/SkConfig8888.cpp @@ -47,7 +47,7 @@ static bool copy_pipeline_pixels(const SkImageInfo& dstInfo, void* dstRow, size_ case kBGRA_8888_SkColorType: pipeline.append(SkRasterPipeline::load_8888, &srcRow); if (src_srgb) { - pipeline.append(SkRasterPipeline::from_srgb); + pipeline.append_from_srgb(srcInfo.alphaType()); } if (swap_rb) { pipeline.append(SkRasterPipeline::swap_rb); |