Add missing return statement.

git-svn-id: http://skia.googlecode.com/svn/trunk@2757 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2011-11-28 18:49:37 +00:00
parent 136f55b617
commit 1e0e607921
2 changed files with 2 additions and 1 deletions

View File

@ -846,6 +846,7 @@ bool GrGpuGL::uploadTexData(const GrGLTexture::Desc& desc,
if (glFlipY) {
GL_CALL(PixelStorei(GR_GL_UNPACK_FLIP_Y, GR_GL_FALSE));
}
return true;
}
bool GrGpuGL::createRenderTargetObjects(int width, int height,

View File

@ -277,7 +277,7 @@ private:
GrGLenum* externalType);
// helper for onCreateTexture and writeTexturePixels
bool uploadTexData(const GrGLTexture::Desc& desc,
bool newTexture,
bool isNewTexture,
int left, int top, int width, int height,
GrPixelConfig dataConfig,
const void* data,