diff options
author | 2011-11-09 22:15:08 +0000 | |
---|---|---|
committer | 2011-11-09 22:15:08 +0000 | |
commit | f74ad8c91aef4f328dbcbcebae9e436c00a35140 (patch) | |
tree | 0acc3d6ba630a5efca8f1b7bcd60e6c051634381 /src/gpu/GrContext.cpp | |
parent | 5a5c2ab3a8cc9cea94bcd883fd983512314a2ef3 (diff) |
Removes warnings generated by gcc and clang.
git-svn-id: http://skia.googlecode.com/svn/trunk@2651 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r-- | src/gpu/GrContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 2ccd843839..da26bc6fa6 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -1721,7 +1721,7 @@ bool GrContext::readRenderTargetPixels(GrRenderTarget* target, kRenderTarget_GrTextureFlagBit, kNone_GrAALevel, width, height, - config + { config } }; GrAutoScratchTexture ast(this, desc); GrTexture* texture = ast.texture(); @@ -1773,7 +1773,7 @@ void GrContext::writePixels(int left, int top, int width, int height, this->flush(kForceCurrentRenderTarget_FlushBit); const GrTextureDesc desc = { - kNone_GrTextureFlags, kNone_GrAALevel, width, height, config + kNone_GrTextureFlags, kNone_GrAALevel, width, height, { config } }; GrAutoScratchTexture ast(this, desc); GrTexture* texture = ast.texture(); |