Index: src/gpu/GrTextureParamsAdjuster.cpp |
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp |
index 3ca90f5adb0a6e433743f9f2d9b406adb0021487..1586d73297ce7bfc2a74c7ad0091f9175bca2133 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.cpp |
+++ b/src/gpu/GrTextureParamsAdjuster.cpp |
@@ -424,7 +424,8 @@ sk_sp<GrFragmentProcessor> GrTextureAdjuster::createFragmentProcessor( |
(domain.fLeft <= domain.fRight && domain.fTop <= domain.fBottom)); |
textureMatrix.postIDiv(texture->width(), texture->height()); |
sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(this->getColorSpace(), |
- dstColorSpace); |
+ dstColorSpace, |
+ this->alphaType()); |
return create_fp_for_domain_and_filter(texture, std::move(colorSpaceXform), textureMatrix, |
domainMode, domain, filterOrNullForBicubic); |
} |
@@ -506,7 +507,8 @@ sk_sp<GrFragmentProcessor> GrTextureMaker::createFragmentProcessor( |
SkMatrix normalizedTextureMatrix = textureMatrix; |
normalizedTextureMatrix.postIDiv(texture->width(), texture->height()); |
sk_sp<GrColorSpaceXform> colorSpaceXform = GrColorSpaceXform::Make(this->getColorSpace(), |
- dstColorSpace); |
+ dstColorSpace, |
+ this->alphaType()); |
return create_fp_for_domain_and_filter(texture, std::move(colorSpaceXform), |
normalizedTextureMatrix, domainMode, domain, |
filterOrNullForBicubic); |