Index: tests/ReadWriteAlphaTest.cpp |
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp |
index 385a17ead0e172369b528e3137ad7f586a21d7e4..7b6a05d29964df3995a18ac018addf860c9de9b5 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; |