aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/texturedomaineffect.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-10-12 10:39:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-12 10:39:46 -0700
commitafa95e270c64c9777647b6c58b796750ced57c39 (patch)
tree56b617f224fa34d96ed23e617ee503583e517263 /gm/texturedomaineffect.cpp
parent04965c6f112565c02926bc9a230e6da5f400d07a (diff)
Remove image usage type enum. Use GrTextureParams instead.
Diffstat (limited to 'gm/texturedomaineffect.cpp')
-rw-r--r--gm/texturedomaineffect.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp
index 9952690fed..cf772f5f1b 100644
--- a/gm/texturedomaineffect.cpp
+++ b/gm/texturedomaineffect.cpp
@@ -86,7 +86,8 @@ protected:
return;
}
- SkAutoTUnref<GrTexture> texture(GrRefCachedBitmapTexture(context, fBmp, nullptr));
+ SkAutoTUnref<GrTexture> texture(GrRefCachedBitmapTexture(context, fBmp,
+ GrTextureParams::ClampNoFilter()));
if (!texture) {
return;
}