Index: src/gpu/effects/GrSimpleTextureEffect.cpp |
diff --git a/src/gpu/effects/GrSimpleTextureEffect.cpp b/src/gpu/effects/GrSimpleTextureEffect.cpp |
index c2dc360e286a187e61ef4fc0befb903394bb3490..06615d296bd3bc709b28b59503bbf3ecbb63f6b3 100644 |
--- a/src/gpu/effects/GrSimpleTextureEffect.cpp |
+++ b/src/gpu/effects/GrSimpleTextureEffect.cpp |
@@ -110,7 +110,8 @@ GrEffectRef* GrSimpleTextureEffect::TestCreate(SkMWCRandom* random, |
kTileModes[random->nextULessThan(SK_ARRAY_COUNT(kTileModes))], |
kTileModes[random->nextULessThan(SK_ARRAY_COUNT(kTileModes))], |
}; |
- GrTextureParams params(tileModes, random->nextBool()); |
+ GrTextureParams params(tileModes, random->nextBool() ? GrTextureParams::kBilerp_FilterMode : |
+ GrTextureParams::kNone_FilterMode); |
static const CoordsType kCoordsTypes[] = { |
kLocal_CoordsType, |