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:
parent
49f5da728f
commit
36aa176d0d
@ -1463,7 +1463,7 @@ bool GrRenderTargetContextPriv::drawAndStencilPath(const GrClip& clip,
|
|||||||
|
|
||||||
// Don't allow the SW renderer
|
// Don't allow the SW renderer
|
||||||
GrPathRenderer* pr = fRenderTargetContext->fDrawingManager->getPathRenderer(
|
GrPathRenderer* pr = fRenderTargetContext->fDrawingManager->getPathRenderer(
|
||||||
canDrawArgs, false, GrPathRendererChain::DrawType::kColor);
|
canDrawArgs, false, GrPathRendererChain::DrawType::kStencilAndColor);
|
||||||
if (!pr) {
|
if (!pr) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user