aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r--src/gpu/GrContext.cpp2
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());
}
////////////////////////////////////////////////////////////////////////////////