Don't forget to call putBackVertices from the stroke tessellator

Change-Id: I80652861841ec4f049336f1759c1c26a934c309a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/369261
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
Chris Dalton 2021-02-11 01:27:36 -07:00 committed by Skia Commit-Bot
parent 510e45c223
commit 53ab360418

View File

@ -169,6 +169,9 @@ void GrStrokeHardwareTessellator::prepare(GrMeshDrawOp::Target* target, const Sk
}
}
fTarget->putBackVertices(fCurrChunkPatchCapacity - fPatchChunks.back().fPatchCount,
GrStrokeTessellateShader::kTessellationPatchBaseStride);
fTarget = nullptr;
fViewMatrix = nullptr;
}