diff options
Diffstat (limited to 'gm')
-rw-r--r-- | gm/texdata.cpp | 2 | ||||
-rw-r--r-- | gm/texturedomaineffect.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index 4f0a0b154a..4b63e2ea69 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -117,7 +117,7 @@ DEF_SIMPLE_GM_BG(texdata, canvas, 2 * S, 2 * S, SK_ColorBLACK) { } else { vm.reset(); } - paint.addColorTextureProcessor(tContext->asTextureProxyRef(), nullptr, vm); + paint.addColorTextureProcessor(tContext->asTextureProxyRef(), vm); renderTargetContext->drawRect(clip, GrPaint::Clone(paint), GrAA::kNo, vm, SkRect::MakeWH(2 * S, 2 * S)); diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp index 03c2b966ca..3dd0847912 100644 --- a/gm/texturedomaineffect.cpp +++ b/gm/texturedomaineffect.cpp @@ -123,7 +123,7 @@ protected: GrPaint grPaint; grPaint.setXPFactory(GrPorterDuffXPFactory::Get(SkBlendMode::kSrc)); auto fp = GrTextureDomainEffect::Make( - proxy, nullptr, textureMatrices[tm], + proxy, textureMatrices[tm], GrTextureDomain::MakeTexelDomainForMode(texelDomains[d], mode), mode, GrSamplerState::Filter::kNearest); |