Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index 84658807e331a9202da9c16831f55a74dc3cd650..848c7ad801e117ab521cf9f3ed9484de21408dee 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -834,6 +834,11 @@ void GrClipMaskManager::setGpuStencil() { |
SkASSERT(fGpu->caps()->twoSidedStencilSupport() || !settings.isTwoSided()); |
this->adjustStencilParams(&settings, clipMode, stencilBits); |
fGpu->setStencilSettings(settings); |
+ |
+ //TODO: this is probably never run due to the early return above. |
+ settings = drawState.getStencilPathSettings(); |
+ this->adjustStencilParams(&settings, clipMode, stencilBits); |
+ fGpu->setStencilPathSettings(settings); |
} |
void GrClipMaskManager::adjustStencilParams(GrStencilSettings* settings, |