Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index dc2fd3086121761bc96f7b57ea5f2d059ac7e805..d8b44b8cba995a28c9de8268b3db988ef23d4875 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -179,7 +179,7 @@ bool GrDrawTarget::setupDstReadIfNecessary(const GrPipelineBuilder& pipelineBuil |
// MSAA consideration: When there is support for reading MSAA samples in the shader we could |
// have per-sample dst values by making the copy multisampled. |
GrSurfaceDesc desc; |
- if (!fGpu->initCopySurfaceDstDesc(rt, &desc)) { |
+ if (!fGpu->initDescForDstCopy(rt, &desc)) { |
desc.fOrigin = kDefault_GrSurfaceOrigin; |
desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fConfig = rt->config(); |