Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 8bdfa7f9de374c7ceecf5cd5d3134b34c27dbee0..b361b671c3b3080b9373ee30a76daf9ce91d7b7a 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1019,6 +1019,8 @@ void GrContext::drawVertices(GrRenderTarget* rt, |
return; |
} |
+ viewMatrix.mapRect(&bounds); |
+ |
DrawVerticesBatch::Geometry geometry; |
geometry.fColor = paint.getColor(); |
SkAutoTUnref<GrBatch> batch(DrawVerticesBatch::Create(geometry, primitiveType, viewMatrix, |