aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTextureParamsAdjuster.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-11-10 09:18:32 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-10 09:18:32 -0800
commit5fb56f18b6a052a107c72d81c0b13dc3b92193b7 (patch)
tree080920eaad8b27ae34cbcf9ece6e8065392b2c60 /src/gpu/GrTextureParamsAdjuster.cpp
parent43f610f693d6d5db115d68ecde8e3fd52e725c6a (diff)
Fix reversion to bilerp on clipped mipmap draws
Diffstat (limited to 'src/gpu/GrTextureParamsAdjuster.cpp')
-rw-r--r--src/gpu/GrTextureParamsAdjuster.cpp2
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);