Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82d41a51 authored by Romain Guy's avatar Romain Guy
Browse files

Fix display list support for shapes.

Change-Id: I8b4c9e9ec36266a83c0a53ba3fb6e45d61bbd6d9
parent 8168396d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);