diff options
Diffstat (limited to 'src/gpu/text/GrAtlasTextBlob.cpp')
-rw-r--r-- | src/gpu/text/GrAtlasTextBlob.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/text/GrAtlasTextBlob.cpp b/src/gpu/text/GrAtlasTextBlob.cpp index 13c96b5e64..6e8a5cc019 100644 --- a/src/gpu/text/GrAtlasTextBlob.cpp +++ b/src/gpu/text/GrAtlasTextBlob.cpp @@ -419,7 +419,8 @@ void GrAtlasTextBlob::flushCached(GrContext* context, SkScalar x, SkScalar y) { // We loop through the runs of the blob, flushing each. If any run is too large, then we flush // it as paths - GrPipelineBuilder pipelineBuilder(grPaint, dc->accessRenderTarget()); + GrPipelineBuilder pipelineBuilder(grPaint, dc->isUnifiedMultisampled()); + pipelineBuilder.setRenderTarget(dc->accessRenderTarget()); GrColor color = grPaint.getColor(); @@ -448,7 +449,8 @@ void GrAtlasTextBlob::flushThrowaway(GrContext* context, const SkMatrix& viewMatrix, const SkIRect& clipBounds, SkScalar x, SkScalar y) { - GrPipelineBuilder pipelineBuilder(grPaint, dc->accessRenderTarget()); + GrPipelineBuilder pipelineBuilder(grPaint, dc->isUnifiedMultisampled()); + pipelineBuilder.setRenderTarget(dc->accessRenderTarget()); GrColor color = grPaint.getColor(); for (int run = 0; run < fRunCount; run++) { |