diff options
Diffstat (limited to 'src/gpu/batches/GrStencilAndCoverPathRenderer.cpp')
-rw-r--r-- | src/gpu/batches/GrStencilAndCoverPathRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp index 720c1c34f6..c96e2074c5 100644 --- a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp +++ b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp @@ -49,11 +49,11 @@ bool GrStencilAndCoverPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) c if (args.fStroke->isHairlineStyle()) { return false; } - if (!args.fPipelineBuilder->getStencil().isDisabled()) { + if (!args.fIsStencilDisabled) { return false; } if (args.fAntiAlias) { - return args.fPipelineBuilder->getRenderTarget()->isStencilBufferMultisampled(); + return args.fIsStencilBufferMSAA; } else { return true; // doesn't do per-path AA, relies on the target having MSAA } |