Index: gm/xfermodes3.cpp |
diff --git a/gm/xfermodes3.cpp b/gm/xfermodes3.cpp |
index 1ca740893b042545d7da3f3f073c1c73ffb0a647..b12004ba54a3317ebeb705435092ddd07df915f0 100644 |
--- a/gm/xfermodes3.cpp |
+++ b/gm/xfermodes3.cpp |
@@ -126,11 +126,11 @@ private: |
#if SK_SUPPORT_GPU |
GrContext* context = baseCanvas->getGrContext(); |
if (context) { |
- GrTextureDesc desc; |
+ GrSurfaceDesc desc; |
desc.fWidth = w; |
desc.fHeight = h; |
desc.fConfig = SkImageInfo2GrPixelConfig(baseCanvas->imageInfo()); |
- desc.fFlags = kRenderTarget_GrTextureFlagBit; |
+ desc.fFlags = kRenderTarget_GrSurfaceFlag; |
SkAutoTUnref<GrSurface> surface(context->createUncachedTexture(desc, NULL, 0)); |
SkAutoTUnref<SkBaseDevice> device(SkGpuDevice::Create(surface.get(), |
SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType))); |