Fix display list support for shapes.

Change-Id: I8b4c9e9ec36266a83c0a53ba3fb6e45d61bbd6d9
This commit is contained in:
Romain Guy
2011-01-24 21:53:42 -08:00
parent 8168396d1a
commit 82d41a5153

View File

@ -849,7 +849,7 @@ void DisplayListRenderer::drawOval(float left, float top, float right, float bot
void DisplayListRenderer::drawArc(float left, float top, float right, float bottom,
float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) {
addOp(DisplayList::DrawOval);
addOp(DisplayList::DrawArc);
addBounds(left, top, right, bottom);
addPoint(startAngle, sweepAngle);
addInt(useCenter ? 1 : 0);