Index: gm/yuvtorgbeffect.cpp |
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp |
index 2fb3eec756d99e34ba5089f653fab54a5b971c3e..25dca35e02ba0b2b046c104edff91d7ce501c8ea 100644 |
--- a/gm/yuvtorgbeffect.cpp |
+++ b/gm/yuvtorgbeffect.cpp |
@@ -85,9 +85,12 @@ protected: |
} |
SkAutoTUnref<GrTexture> texture[3]; |
- texture[0].reset(GrRefCachedBitmapTexture(context, fBmp[0], nullptr)); |
- texture[1].reset(GrRefCachedBitmapTexture(context, fBmp[1], nullptr)); |
- texture[2].reset(GrRefCachedBitmapTexture(context, fBmp[2], nullptr)); |
+ texture[0].reset(GrRefCachedBitmapTexture(context, fBmp[0], |
+ GrTextureParams::ClampBilerp())); |
+ texture[1].reset(GrRefCachedBitmapTexture(context, fBmp[1], |
+ GrTextureParams::ClampBilerp())); |
+ texture[2].reset(GrRefCachedBitmapTexture(context, fBmp[2], |
+ GrTextureParams::ClampBilerp())); |
if (!texture[0] || !texture[1] || !texture[2]) { |
return; |