diff options
Diffstat (limited to 'src/gpu/GrTessellatingPathRenderer.cpp')
-rw-r--r-- | src/gpu/GrTessellatingPathRenderer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp index a41a88eed6..0fd8afd754 100644 --- a/src/gpu/GrTessellatingPathRenderer.cpp +++ b/src/gpu/GrTessellatingPathRenderer.cpp @@ -1412,10 +1412,9 @@ public: LOG("got %d pts, %d contours\n", maxPts, contourCnt); uint32_t flags = GrDefaultGeoProcFactory::kPosition_GPType; SkAutoTUnref<const GrGeometryProcessor> gp( - GrDefaultGeoProcFactory::Create(flags, fColor, fPipelineInfo.fUsesLocalCoords, - fPipelineInfo.fCoverageIgnored, fViewMatrix, - SkMatrix::I())); + GrDefaultGeoProcFactory::Create(flags, fColor, fViewMatrix, SkMatrix::I())); batchTarget->initDraw(gp, pipeline); + gp->initBatchTracker(batchTarget->currentBatchTracker(), fPipelineInfo); SkAutoTDeleteArray<Vertex*> contours(SkNEW_ARRAY(Vertex *, contourCnt)); |