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

Commit f9b36785 authored by Chris Craik's avatar Chris Craik
Browse files

Fix path position in BakedOpDispatcher

Change-Id: I73f4bbcf3fe6f5d3fbdf8058b598bb8f1622097c
parent 7435eb14
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -338,8 +338,8 @@ static void renderConvexPath(BakedOpRenderer& renderer, const BakedOpState& stat
static void renderPathTexture(BakedOpRenderer& renderer, const BakedOpState& state,
        PathTexture& texture, const RecordedOp& op) {
    Rect dest(texture.width, texture.height);
    dest.translate(texture.left + op.unmappedBounds.left - texture.offset,
            texture.top + op.unmappedBounds.top - texture.offset);
    dest.translate(texture.left - texture.offset,
            texture.top - texture.offset);
    Glop glop;
    GlopBuilder(renderer.renderState(), renderer.caches(), &glop)
            .setRoundRectClipState(state.roundRectClipState)