From 0066a01d7ceb9db89fe5edb97e06f62db1c52a74 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 29 Feb 2016 13:34:43 -0800 Subject: [PATCH] Fix arc positioning bug:27389290 Change-Id: I479a34ea079f1fce1c308aa809a57885ffa1d004 --- libs/hwui/BakedOpDispatcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/hwui/BakedOpDispatcher.cpp b/libs/hwui/BakedOpDispatcher.cpp index 78764b5f44486..1aab3c79dcfd2 100644 --- a/libs/hwui/BakedOpDispatcher.cpp +++ b/libs/hwui/BakedOpDispatcher.cpp @@ -368,7 +368,7 @@ void BakedOpDispatcher::onArcOp(BakedOpRenderer& renderer, const ArcOp& op, cons op.startAngle, op.sweepAngle, op.useCenter, op.paint); const AutoTexture holder(texture); if (CC_LIKELY(holder.texture)) { - renderPathTexture(renderer, state, op.unmappedBounds.left, op.unmappedBounds.right, + renderPathTexture(renderer, state, op.unmappedBounds.left, op.unmappedBounds.top, *texture, *(op.paint)); } } else {