Index: src/gpu/effects/GrConfigConversionEffect.cpp |
diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp |
index 99a4884f0fed2a8c775a5813438b3cf6da697eba..9791cb4b8225329d0d37abf404a35a03903f6a60 100644 |
--- a/src/gpu/effects/GrConfigConversionEffect.cpp |
+++ b/src/gpu/effects/GrConfigConversionEffect.cpp |
@@ -98,7 +98,7 @@ GrConfigConversionEffect::GrConfigConversionEffect(GrTexture* texture, |
const GrSwizzle& swizzle, |
PMConversion pmConversion, |
const SkMatrix& matrix) |
- : INHERITED(texture, matrix, GrTextureParams::ClampNoFilterForceAllowSRGB()) |
+ : INHERITED(texture, matrix) |
, fSwizzle(swizzle) |
, fPMConversion(pmConversion) { |
this->initClassID<GrConfigConversionEffect>(); |
@@ -296,8 +296,7 @@ const GrFragmentProcessor* GrConfigConversionEffect::Create(GrTexture* texture, |
// If we returned a GrConfigConversionEffect that was equivalent to a GrSimpleTextureEffect |
// then we may pollute our texture cache with redundant shaders. So in the case that no |
// conversions were requested we instead return a GrSimpleTextureEffect. |
- return GrSimpleTextureEffect::Create(texture, matrix, |
- GrTextureParams::ClampNoFilterForceAllowSRGB()); |
+ return GrSimpleTextureEffect::Create(texture, matrix); |
} else { |
if (kRGBA_8888_GrPixelConfig != texture->config() && |
kBGRA_8888_GrPixelConfig != texture->config() && |