From f467ce7bc33af5f496e0619387551aedec6d2517 Mon Sep 17 00:00:00 2001 From: "skia.committer@gmail.com" Date: Tue, 9 Oct 2012 02:01:37 +0000 Subject: Sanitizing source files in Skia_Periodic_House_Keeping git-svn-id: http://skia.googlecode.com/svn/trunk@5858 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrContext.cpp | 2 +- src/gpu/GrDrawState.cpp | 2 +- src/gpu/GrDrawState.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3