Index: src/effects/SkPerlinNoiseShader.cpp |
diff --git a/src/effects/SkPerlinNoiseShader.cpp b/src/effects/SkPerlinNoiseShader.cpp |
index 86463f62c3c07bbcb0dcec90ff4beb49900b135d..481d1607f704c358124502e3d39058067c5cd8a2 100644 |
--- a/src/effects/SkPerlinNoiseShader.cpp |
+++ b/src/effects/SkPerlinNoiseShader.cpp |
@@ -943,9 +943,11 @@ const GrFragmentProcessor* SkPerlinNoiseShader::asFragmentProcessor( |
SkPerlinNoiseShader::PaintingData* paintingData = |
new PaintingData(fTileSize, fSeed, fBaseFrequencyX, fBaseFrequencyY, matrix); |
SkAutoTUnref<GrTexture> permutationsTexture( |
- GrRefCachedBitmapTexture(context, paintingData->getPermutationsBitmap(), nullptr)); |
+ GrRefCachedBitmapTexture(context, paintingData->getPermutationsBitmap(), |
+ GrTextureParams::ClampNoFilter())); |
SkAutoTUnref<GrTexture> noiseTexture( |
- GrRefCachedBitmapTexture(context, paintingData->getNoiseBitmap(), nullptr)); |
+ GrRefCachedBitmapTexture(context, paintingData->getNoiseBitmap(), |
+ GrTextureParams::ClampNoFilter())); |
SkMatrix m = viewM; |
m.setTranslateX(-localMatrix.getTranslateX() + SK_Scalar1); |