Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index b1e233fa3afb3a5af929620544d9066977ff6627..a78af9b25196b0794765949e00844ad6e72424ce 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -952,7 +952,6 @@ DEF_GPUTEST(SkImage_NewFromTexture, reporter, factory) { |
sk_memset32(storage, expected0, w * h); |
GrSurfaceDesc desc; |
- desc.fFlags = kRenderTarget_GrSurfaceFlag; // needs to be a rendertarget for readpixels(); |
desc.fOrigin = kDefault_GrSurfaceOrigin; |
desc.fWidth = w; |
desc.fHeight = h; |