diff options
author | bsalomon <bsalomon@google.com> | 2015-10-12 10:39:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-12 10:39:46 -0700 |
commit | afa95e270c64c9777647b6c58b796750ced57c39 (patch) | |
tree | 56b617f224fa34d96ed23e617ee503583e517263 /gm/texturedomaineffect.cpp | |
parent | 04965c6f112565c02926bc9a230e6da5f400d07a (diff) |
Remove image usage type enum. Use GrTextureParams instead.
BUG=skia:
Review URL: https://codereview.chromium.org/1404433002
Diffstat (limited to 'gm/texturedomaineffect.cpp')
-rw-r--r-- | gm/texturedomaineffect.cpp | 3 |
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; } |