Index: gm/texdata.cpp |
diff --git a/gm/texdata.cpp b/gm/texdata.cpp |
index b979df72ffe7790961685b31e6e6c59dd3ea1a27..efe8c4d7304c33e7f5bcf717782f4b4f34881ee6 100644 |
--- a/gm/texdata.cpp |
+++ b/gm/texdata.cpp |
@@ -78,10 +78,10 @@ protected: |
} |
} |
- GrTextureDesc desc; |
+ GrSurfaceDesc desc; |
// use RT flag bit because in GL it makes the texture be bottom-up |
- desc.fFlags = i ? kRenderTarget_GrTextureFlagBit : |
- kNone_GrTextureFlags; |
+ desc.fFlags = i ? kRenderTarget_GrSurfaceFlag : |
+ kNone_GrSurfaceFlags; |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fWidth = 2 * S; |
desc.fHeight = 2 * S; |