Fix bug of passing DrawType::kColor instead of kStencilAndColor

Change-Id: Ifda6580f9a118b2cdbf0621748e3c895de81112a
Reviewed-on: https://skia-review.googlesource.com/5729
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
Brian Salomon 2016-12-10 13:24:02 -05:00 committed by Skia Commit-Bot
parent 49f5da728f
commit 36aa176d0d

View File

@ -1463,7 +1463,7 @@ bool GrRenderTargetContextPriv::drawAndStencilPath(const GrClip& clip,
// Don't allow the SW renderer
GrPathRenderer* pr = fRenderTargetContext->fDrawingManager->getPathRenderer(
canDrawArgs, false, GrPathRendererChain::DrawType::kColor);
canDrawArgs, false, GrPathRendererChain::DrawType::kStencilAndColor);
if (!pr) {
return false;
}