Index: tools/PictureRenderer.cpp |
diff --git a/tools/PictureRenderer.cpp b/tools/PictureRenderer.cpp |
index 64021525b0f220ab9da61c5b61a1dbd829a0c69f..e4a69986db21817aba418e6a62718873cb305c9c 100644 |
--- a/tools/PictureRenderer.cpp |
+++ b/tools/PictureRenderer.cpp |
@@ -148,9 +148,9 @@ SkCanvas* PictureRenderer::setupCanvas(int width, int height) { |
SkAutoTUnref<GrSurface> target; |
if (fGrContext) { |
// create a render target to back the device |
- GrTextureDesc desc; |
+ GrSurfaceDesc desc; |
desc.fConfig = kSkia8888_GrPixelConfig; |
- desc.fFlags = kRenderTarget_GrTextureFlagBit; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fWidth = width; |
desc.fHeight = height; |
desc.fSampleCnt = fSampleCount; |