diff options
author | 2015-11-10 09:18:32 -0800 | |
---|---|---|
committer | 2015-11-10 09:18:32 -0800 | |
commit | 5fb56f18b6a052a107c72d81c0b13dc3b92193b7 (patch) | |
tree | 080920eaad8b27ae34cbcf9ece6e8065392b2c60 /src/gpu/GrTextureParamsAdjuster.cpp | |
parent | 43f610f693d6d5db115d68ecde8e3fd52e725c6a (diff) |
Fix reversion to bilerp on clipped mipmap draws
Review URL: https://codereview.chromium.org/1437573004
Diffstat (limited to 'src/gpu/GrTextureParamsAdjuster.cpp')
-rw-r--r-- | src/gpu/GrTextureParamsAdjuster.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp index b98a126971..37f1d8156e 100644 --- a/src/gpu/GrTextureParamsAdjuster.cpp +++ b/src/gpu/GrTextureParamsAdjuster.cpp @@ -352,13 +352,11 @@ const GrFragmentProcessor* GrTextureAdjuster::createFragmentProcessor( texture->width(), texture->height(), contentArea, &kBilerp, &domain); SkASSERT(kTightCopy_DomainMode != domainMode); - filterOrNullForBicubic = &kBilerp; } SkASSERT(kNoDomain_DomainMode == domainMode || (domain.fLeft <= domain.fRight && domain.fTop <= domain.fBottom)); if (filterOrNullForBicubic) { if (kDomain_DomainMode == domainMode) { - SkASSERT(*filterOrNullForBicubic != GrTextureParams::kMipMap_FilterMode); return GrTextureDomainEffect::Create(texture, textureMatrix, domain, GrTextureDomain::kClamp_Mode, *filterOrNullForBicubic); |