Index: tests/ReadPixelsTest.cpp |
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp |
index b2f3c7fa833390b28729be81f2b1039bbb00c0eb..63cc4d0c86ac6f473815d0a41fd9872cf9b8e8bd 100644 |
--- a/tests/ReadPixelsTest.cpp |
+++ b/tests/ReadPixelsTest.cpp |
@@ -312,8 +312,8 @@ DEF_GPUTEST(ReadPixels, reporter, factory) { |
if (NULL == context) { |
continue; |
} |
- GrTextureDesc desc; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit | kNoStencil_GrTextureFlagBit; |
+ GrSurfaceDesc desc; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag | kNoStencil_GrSurfaceFlag; |
desc.fWidth = DEV_W; |
desc.fHeight = DEV_H; |
desc.fConfig = kSkia8888_GrPixelConfig; |