Index: src/gpu/effects/GrTextureDomain.cpp |
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp |
index 55d69bf5cc6a3d3b695093dbd5ebab5c3fe14998..02e52970e64a9e31693d0c33e177d967d9be37d9 100644 |
--- a/src/gpu/effects/GrTextureDomain.cpp |
+++ b/src/gpu/effects/GrTextureDomain.cpp |
@@ -296,7 +296,7 @@ sk_sp<GrFragmentProcessor> GrDeviceSpaceTextureDecalFragmentProcessor::Make(GrTe |
GrDeviceSpaceTextureDecalFragmentProcessor::GrDeviceSpaceTextureDecalFragmentProcessor( |
GrTexture* texture, const SkIRect& subset, const SkIPoint& deviceSpaceOffset) |
: fTextureAccess(texture, GrTextureParams::ClampNoFilter()) |
- , fTextureDomain(GrTextureDomain::MakeTexelDomain(texture, subset), |
+ , fTextureDomain(GrTextureDomain::MakeTexelDomain(texture->width(), texture->height(), subset), |
GrTextureDomain::kDecal_Mode) { |
this->addTextureAccess(&fTextureAccess); |
fDeviceSpaceOffset.fX = deviceSpaceOffset.fX - subset.fLeft; |