Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index a3fe022b437e0e8d838051be77dc6b5c4cdd8ad3..31ae5a90fdebdd58c0b03c87f9e790a88d9728d2 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -248,8 +248,6 @@ GrTexture* GrDeepCopyTexture(GrTexture* src, bool budgeted) { |
GrContext* ctx = src->getContext(); |
GrSurfaceDesc desc = src->desc(); |
- // need to be a rendertarget for readpixels to work, instead of kNone_GrSurfaceFlags |
- desc.fFlags = kRenderTarget_GrSurfaceFlag; |
GrTexture* dst = ctx->textureProvider()->createTexture(desc, budgeted, NULL, 0); |
if (!dst) { |
return NULL; |