Remove fConfig/fFormat union in GrTextureDesc
Review URL: http://codereview.appspot.com/5448116/
git-svn-id: http://skia.googlecode.com/svn/trunk@2806 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index e4b1150..9f82a15 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -1758,7 +1758,7 @@
kRenderTarget_GrTextureFlagBit,
kNone_GrAALevel,
width, height,
- { config }
+ config
};
// When a full readback is faster than a partial we could always make
@@ -1880,7 +1880,7 @@
}
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();