Index: src/gpu/effects/GrTextureDomain.cpp |
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp |
index 814d193fde27244c4d6af391a347acd8807d551b..e06c8de801f904cf2061b0e3dde97e5a51045439 100644 |
--- a/src/gpu/effects/GrTextureDomain.cpp |
+++ b/src/gpu/effects/GrTextureDomain.cpp |
@@ -191,7 +191,7 @@ void GrGLTextureDomainEffect::emitCode(EmitArgs& args) { |
const GrTextureDomain& domain = textureDomainEffect.textureDomain(); |
GrGLSLFPFragmentBuilder* fragBuilder = args.fFragBuilder; |
- SkString coords2D = fragBuilder->ensureFSCoords2D(args.fCoords, 0); |
+ SkString coords2D = fragBuilder->ensureCoords2D(args.fTransformedCoords[0]); |
fGLDomain.sampleTexture(fragBuilder, |
args.fUniformHandler, |
args.fGLSLCaps, |