diff options
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); |