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 01eedec633..4cad11336e 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -98,7 +98,7 @@ DEF_SIMPLE_GM_BG(texdata, canvas, 2 * S, 2 * S, SK_ColorBLACK) { SkMatrix tm; tm = vm; tm.postIDiv(2*S, 2*S); - paint.addColorTextureProcessor(texture, tm); + paint.addColorTextureProcessor(texture, nullptr, tm); drawContext->drawRect(clip, paint, vm, SkRect::MakeWH(2*S, 2*S)); diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp index 3680006cc5..ba574b6b09 100644 --- a/gm/texturedomaineffect.cpp +++ b/gm/texturedomaineffect.cpp @@ -115,7 +115,7 @@ protected: GrPaint grPaint; grPaint.setXPFactory(GrPorterDuffXPFactory::Make(SkXfermode::kSrc_Mode)); sk_sp<GrFragmentProcessor> fp( - GrTextureDomainEffect::Make(texture, textureMatrices[tm], + GrTextureDomainEffect::Make(texture, nullptr, textureMatrices[tm], GrTextureDomain::MakeTexelDomain(texture, texelDomains[d]), mode, GrTextureParams::kNone_FilterMode)); |