Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 20afada017dd0170b9a2184f683da6ef75b5e04c..406dedb0a7601d8f491510cc5dcb8bd63d2b97ae 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -757,7 +757,7 @@ void SkGpuDevice::drawPath(const SkDraw& draw, const SkPath& origSrcPath, |
draw.fMatrix->preservesRightAngles() && origSrcPath.isLine(points)) { |
// Path-based stroking looks better for thin rects |
SkScalar strokeWidth = draw.fMatrix->getMaxScale() * paint.getStrokeWidth(); |
- if (strokeWidth > 0.9f) { |
+ if (strokeWidth >= 1.0f) { |
// Round capping support is currently disabled b.c. it would require |
// a RRect batch that takes a localMatrix. |
this->drawStrokedLine(points, draw, paint); |