| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 9110b34d6f38be969a62d637fedbed0e8e28f36e..2e4b13f03ee0e87f5f1e75b2d2e8758d96660801 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -922,6 +922,7 @@ bool GrDrawContextPriv::drawAndStencilPath(const SkIRect* scissorRect,
|
| args.fPath = &path;
|
| args.fStroke = &GrStrokeInfo::FillInfo();
|
| args.fAntiAlias = useCoverageAA;
|
| + args.fGammaCorrect = fDrawContext->isGammaCorrect();
|
| pr->drawPath(args);
|
| return true;
|
| }
|
| @@ -1025,6 +1026,7 @@ void GrDrawContext::internalDrawPath(const GrClip& clip,
|
| args.fPath = pathPtr;
|
| args.fStroke = strokeInfoPtr;
|
| args.fAntiAlias = useCoverageAA;
|
| + args.fGammaCorrect = this->isGammaCorrect();
|
| pr->drawPath(args);
|
| }
|
|
|
|
|