summaryrefslogtreecommitdiffstats
path: root/libs/hwui/DisplayListRenderer.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-07-11 10:58:10 -0700
committerChris Craik <ccraik@google.com>2014-07-11 18:15:34 +0000
commit544e524db6e4da526af1c897fe5314036ede5012 (patch)
tree6276be324069232d333dd171840574479cd781c4 /libs/hwui/DisplayListRenderer.cpp
parent3c58775a126c9c9b2f86bc22bd82cedbdcb06024 (diff)
downloadframeworks_base-544e524db6e4da526af1c897fe5314036ede5012.zip
frameworks_base-544e524db6e4da526af1c897fe5314036ede5012.tar.gz
frameworks_base-544e524db6e4da526af1c897fe5314036ede5012.tar.bz2
Fix arc 360 degree sweep rendering
bug:15947035 Change-Id: I83715968cb90f4fcf39b25fb283d241d1a1284b5
Diffstat (limited to 'libs/hwui/DisplayListRenderer.cpp')
-rw-r--r--libs/hwui/DisplayListRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/DisplayListRenderer.cpp b/libs/hwui/DisplayListRenderer.cpp
index 7789358..ba5594a 100644
--- a/libs/hwui/DisplayListRenderer.cpp
+++ b/libs/hwui/DisplayListRenderer.cpp
@@ -306,7 +306,7 @@ status_t DisplayListRenderer::drawOval(float left, float top, float right, float
status_t DisplayListRenderer::drawArc(float left, float top, float right, float bottom,
float startAngle, float sweepAngle, bool useCenter, const SkPaint* paint) {
- if (fabs(sweepAngle) > 360.0f) {
+ if (fabs(sweepAngle) >= 360.0f) {
return drawOval(left, top, right, bottom, paint);
}