Merge "Fix arc positioning" into nyc-dev

am: 5005033fa3

* commit '5005033fa309ad4b94fe4a2d09a25e4d4c2ae913':
  Fix arc positioning
This commit is contained in:
Chris Craik
2016-02-29 22:06:41 +00:00
committed by android-build-merger

View File

@@ -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 {