Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index 0ecc27d491622567cf72ed742d1bd938df2d38fd..ac696808112fa5af4bbc08da717b3de9d3b6dd25 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -2110,8 +2110,7 @@ void SkDraw::drawVertices(SkCanvas::VertexMode vmode, int count, |
if (textures) { |
SkMatrix tempM; |
if (texture_to_matrix(state, vertices, textures, &tempM)) { |
- SkShader::ContextRec rec(*fBitmap, p, *fMatrix); |
- rec.fLocalMatrix = &tempM; |
+ SkShader::ContextRec rec(p, *fMatrix, &tempM); |
if (!blitter->resetShaderContext(rec)) { |
continue; |
} |