From f74ad8c91aef4f328dbcbcebae9e436c00a35140 Mon Sep 17 00:00:00 2001 From: "tomhudson@google.com" Date: Wed, 9 Nov 2011 22:15:08 +0000 Subject: Removes warnings generated by gcc and clang. git-svn-id: http://skia.googlecode.com/svn/trunk@2651 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpu/GrContext.cpp') 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(); -- cgit v1.2.3