Merge "Fix arc positioning" into nyc-dev
am: 5005033fa3
* commit '5005033fa309ad4b94fe4a2d09a25e4d4c2ae913':
Fix arc positioning
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user