diff options
author | bsalomon <bsalomon@google.com> | 2014-10-28 14:33:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-28 14:33:06 -0700 |
commit | f2703d83da3ab2ae18b45231fd4f11e16cce3184 (patch) | |
tree | 296ec36a08899623dc5808190600f14e08c24107 /tests/ReadWriteAlphaTest.cpp | |
parent | 0ec28af1a7259ef0deec44bd3cba74aafc3c2ad1 (diff) |
rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags
Review URL: https://codereview.chromium.org/682223002
Diffstat (limited to 'tests/ReadWriteAlphaTest.cpp')
-rw-r--r-- | tests/ReadWriteAlphaTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp index 385a17ead0..7b6a05d299 100644 --- a/tests/ReadWriteAlphaTest.cpp +++ b/tests/ReadWriteAlphaTest.cpp @@ -30,10 +30,10 @@ DEF_GPUTEST(ReadWriteAlpha, reporter, factory) { memset(textureData, 0, X_SIZE * Y_SIZE); - GrTextureDesc desc; + GrSurfaceDesc desc; // let Skia know we will be using this texture as a render target - desc.fFlags = kRenderTarget_GrTextureFlagBit; + desc.fFlags = kRenderTarget_GrSurfaceFlag; // it is a single channel texture desc.fConfig = kAlpha_8_GrPixelConfig; desc.fWidth = X_SIZE; |