Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 04e3f8fa9ff16aee0b03f47eaf8b1393a3512ae9..18a8e81ce8e2ff567d194c9cb9f2adfd5018d329 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1451,6 +1451,7 @@ void GrContext::internalDrawPath(GrDrawTarget* target, |
if (NULL == pr) { |
if (!GrPathRenderer::IsStrokeHairlineOrEquivalent(*stroke, viewMatrix, NULL)) { |
// It didn't work the 1st time, so try again with the stroked path |
+ stroke.writable()->setResScale(viewMatrix.getMaxScale()); |
if (stroke->applyToPath(tmpPath.init(), *pathPtr)) { |
pathPtr = tmpPath.get(); |
stroke.writable()->setFillStyle(); |