diff options
author | 2012-09-24 14:20:00 +0000 | |
---|---|---|
committer | 2012-09-24 14:20:00 +0000 | |
commit | 5b5bba36dcbc69b0033c2acc9981734956394816 (patch) | |
tree | 3a7b1e5cb7590602130ec281bffa55efcdc333c6 /src/gpu/gl/GrGpuGL.cpp | |
parent | 56072f9eccd726c659c5422f2cb1966d3c79bf3c (diff) |
Addressed xcode analysis complaints
http://codereview.appspot.com/6558048/
git-svn-id: http://skia.googlecode.com/svn/trunk@5646 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGpuGL.cpp')
-rw-r--r-- | src/gpu/gl/GrGpuGL.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp index d9988c42e2..157d9bc2ec 100644 --- a/src/gpu/gl/GrGpuGL.cpp +++ b/src/gpu/gl/GrGpuGL.cpp @@ -1073,8 +1073,6 @@ bool GrGpuGL::createStencilBufferForRenderTarget(GrRenderTarget* rt, return false; } - GrGLStencilBuffer* sb = NULL; - int stencilFmtCnt = this->glCaps().stencilFormats().count(); for (int i = 0; i < stencilFmtCnt; ++i) { GL_CALL(BindRenderbuffer(GR_GL_RENDERBUFFER, sbID)); @@ -2032,7 +2030,6 @@ void GrGpuGL::flushBoundTextureAndParams(int stage) { void GrGpuGL::flushBoundTextureAndParams(int stage, const GrTextureParams& params, GrGLTexture* nextTexture) { - GrDrawState* drawState = this->drawState(); // true for now, but maybe not with GrEffect. GrAssert(NULL != nextTexture); |