aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/texturedomaineffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/texturedomaineffect.cpp')
-rw-r--r--gm/texturedomaineffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp
index b76c70ebc5..ad192d68eb 100644
--- a/gm/texturedomaineffect.cpp
+++ b/gm/texturedomaineffect.cpp
@@ -83,7 +83,7 @@ protected:
}
sk_sp<GrTexture> texture(
- GrRefCachedBitmapTexture(context, fBmp, GrTextureParams::ClampNoFilter(),
+ GrRefCachedBitmapTexture(context, fBmp, GrSamplerParams::ClampNoFilter(),
SkDestinationSurfaceColorMode::kGammaAndColorSpaceAware));
if (!texture) {
return;
@@ -119,7 +119,7 @@ protected:
GrTextureDomainEffect::Make(texture.get(), nullptr, textureMatrices[tm],
GrTextureDomain::MakeTexelDomain(texture.get(),
texelDomains[d]),
- mode, GrTextureParams::kNone_FilterMode));
+ mode, GrSamplerParams::kNone_FilterMode));
if (!fp) {
continue;