remove testing && false

Change-Id: I87cfeccc7ce624d42b19226de5ff63dd18b65aca
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/276279
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2020-03-10 17:22:52 -04:00
parent 4723724bac
commit 3439323afd

View File

@ -333,7 +333,7 @@ void SkRasterPipelineBlitter::blitRect(int x, int y, int w, int h) {
SkRasterPipeline p(fAlloc);
p.extend(fColorPipeline);
p.append_gamut_clamp_if_normalized(fDst.info());
if (fBlend == SkBlendMode::kSrcOver && false
if (fBlend == SkBlendMode::kSrcOver
&& (fDst.info().colorType() == kRGBA_8888_SkColorType ||
fDst.info().colorType() == kBGRA_8888_SkColorType)
&& !fDst.colorSpace()