aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ReadWriteAlphaTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-10-28 14:33:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-28 14:33:06 -0700
commitf2703d83da3ab2ae18b45231fd4f11e16cce3184 (patch)
tree296ec36a08899623dc5808190600f14e08c24107 /tests/ReadWriteAlphaTest.cpp
parent0ec28af1a7259ef0deec44bd3cba74aafc3c2ad1 (diff)
rename GrTextureDesc->GrSurfaceDesc, GrTextureFlags->GrSurfaceFlags
Diffstat (limited to 'tests/ReadWriteAlphaTest.cpp')
-rw-r--r--tests/ReadWriteAlphaTest.cpp4
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;