Fix starting location in GrRTC::drawOval when converting to GrShape
Change-Id: I3b86d15add9d463e64c97f53bdb5042f1e2a2f27
Reviewed-on: https://skia-review.googlesource.com/122880
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp
index 3c12755..576f348 100644
--- a/src/gpu/GrRenderTargetContext.cpp
+++ b/src/gpu/GrRenderTargetContext.cpp
@@ -1311,8 +1311,9 @@
}
}
- this->drawShapeUsingPathRenderer(clip, std::move(paint), aa, viewMatrix,
- GrShape(SkRRect::MakeOval(oval), style));
+ this->drawShapeUsingPathRenderer(
+ clip, std::move(paint), aa, viewMatrix,
+ GrShape(SkRRect::MakeOval(oval), SkPath::kCW_Direction, 2, false, style));
}
void GrRenderTargetContext::drawArc(const GrClip& clip,