diff options
Diffstat (limited to 'gpu/src/GrPathRendererChain.cpp')
-rw-r--r-- | gpu/src/GrPathRendererChain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/src/GrPathRendererChain.cpp b/gpu/src/GrPathRendererChain.cpp index dc09d43c1e..a6da6d3bd4 100644 --- a/gpu/src/GrPathRendererChain.cpp +++ b/gpu/src/GrPathRendererChain.cpp @@ -57,9 +57,9 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer(const GrDrawTarget* target, void GrPathRendererChain::init() { GrAssert(!fInit); GrGpu* gpu = fOwner->getGpu(); - this->addPathRenderer( - new GrDefaultPathRenderer(gpu->supportsTwoSidedStencil(), - gpu->supportsStencilWrapOps()))->unref(); + bool twoSided = gpu->getCaps().fTwoSidedStencilSupport; + bool wrapOp = gpu->getCaps().fStencilWrapOpsSupport; + this->addPathRenderer(new GrDefaultPathRenderer(twoSided, wrapOp))->unref(); GrPathRenderer::AddPathRenderers(fOwner, fFlags, this); fInit = true; } |