diff options
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r-- | src/gpu/GrContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 1ea2906410..81f9717274 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -569,7 +569,7 @@ void GrContext::setClip(const GrClipData* clipData) { fGpu->setClip(clipData); fDrawState->setState(GrDrawState::kClip_StateBit, - clipData->fClipStack && !clipData->fClipStack->isWideOpen()); + clipData && clipData->fClipStack && !clipData->fClipStack->isWideOpen()); } //////////////////////////////////////////////////////////////////////////////// |