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:
parent
510e45c223
commit
53ab360418
@ -169,6 +169,9 @@ void GrStrokeHardwareTessellator::prepare(GrMeshDrawOp::Target* target, const Sk
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fTarget->putBackVertices(fCurrChunkPatchCapacity - fPatchChunks.back().fPatchCount,
|
||||||
|
GrStrokeTessellateShader::kTessellationPatchBaseStride);
|
||||||
|
|
||||||
fTarget = nullptr;
|
fTarget = nullptr;
|
||||||
fViewMatrix = nullptr;
|
fViewMatrix = nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user