| Index: src/gpu/GrDrawState.cpp
|
| diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp
|
| index f114cccf8949d30eb18a8b8c3997c9d45a6926ba..2a81e2619c1efdc1df5fbf85934025f719cf93a0 100644
|
| --- a/src/gpu/GrDrawState.cpp
|
| +++ b/src/gpu/GrDrawState.cpp
|
| @@ -64,6 +64,9 @@ void GrDrawState::setFromPaint(const GrPaint& paint, const SkMatrix& vm, GrRende
|
| fCommon.fStencilSettings.setDisabled();
|
| this->resetStateFlags();
|
|
|
| + // Enable the clip bit
|
| + this->enableState(GrDrawState::kClip_StateBit);
|
| +
|
| this->setColor(paint.getColor());
|
| this->setState(GrDrawState::kDither_StateBit, paint.isDither());
|
| this->setState(GrDrawState::kHWAntialias_StateBit, paint.isAntiAlias());
|
|
|