diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrContext.cpp | 2 | ||||
-rw-r--r-- | src/gpu/GrDrawState.cpp | 2 | ||||
-rw-r--r-- | src/gpu/GrDrawState.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 32e6346ac9..738521b094 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -570,7 +570,7 @@ const GrClipData* GrContext::getClip() const { void GrContext::setClip(const GrClipData* clipData) { fGpu->setClip(clipData); - fDrawState->setState(GrDrawState::kClip_StateBit, + fDrawState->setState(GrDrawState::kClip_StateBit, clipData->fClipStack && !clipData->fClipStack->isWideOpen()); } diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp index b0bbd06a16..da81a76a73 100644 --- a/src/gpu/GrDrawState.cpp +++ b/src/gpu/GrDrawState.cpp @@ -105,7 +105,7 @@ bool GrDrawState::AutoDeviceCoordDraw::set(GrDrawState* drawState, fDrawState = drawState; if (NULL == fDrawState) { return false; - } + } fViewMatrix = drawState->getViewMatrix(); fRestoreMask = 0; diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index 8e063f775e..9b2005809f 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -487,7 +487,7 @@ public: * Can be called prior to destructor to restore the original matrix. */ void restore(); - + void set(GrDrawState* drawState, const GrMatrix& preconcatMatrix, uint32_t explicitCoordStageMask = 0); |