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

Commit e8797a18 authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "Fix translated VertexBuffer layer damage calculation" into lmp-dev

parents c97b4d39 0d5ac954
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2351,7 +2351,8 @@ status_t OpenGLRenderer::drawVertexBuffer(float translateX, float translateY,
        return DrawGlInfo::kStatusDone;
    }

    const Rect& bounds = vertexBuffer.getBounds();
    Rect bounds(vertexBuffer.getBounds());
    bounds.translate(translateX, translateY);
    dirtyLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, *currentTransform());

    int color = paint->getColor();