From 5fb56f18b6a052a107c72d81c0b13dc3b92193b7 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 10 Nov 2015 09:18:32 -0800 Subject: Fix reversion to bilerp on clipped mipmap draws Review URL: https://codereview.chromium.org/1437573004 --- src/gpu/GrTextureParamsAdjuster.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gpu/GrTextureParamsAdjuster.cpp') 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); -- cgit v1.2.3