Index: src/gpu/GrClip.cpp |
diff --git a/src/gpu/GrClip.cpp b/src/gpu/GrClip.cpp |
index 15065aa4849fbd76a724634d3bb70f028684a5a9..eeb105e2cbf9f5ad731829d3bcd57131780ddaa3 100644 |
--- a/src/gpu/GrClip.cpp |
+++ b/src/gpu/GrClip.cpp |
@@ -52,9 +52,11 @@ bool GrFixedClip::apply(GrClipMaskManager*, const GrPipelineBuilder& pipelineBui |
if (devBounds && !devBounds->intersects(SkRect::Make(tightScissor))) { |
return false; |
} |
- out->fScissorState.set(tightScissor); |
+ out->makeScissoredStencil(fHasStencilClip, tightScissor); |
+ return true; |
} |
- out->fHasStencilClip = fHasStencilClip; |
+ |
+ out->makeStencil(fHasStencilClip); |
return true; |
} |