Index: src/image/SkImage_Gpu.cpp |
diff --git a/src/image/SkImage_Gpu.cpp b/src/image/SkImage_Gpu.cpp |
index c502fc0092536ddbb971b40a76cf1aa33d6980cb..04939e36f16e191af29c5583aac746e48499cefc 100644 |
--- a/src/image/SkImage_Gpu.cpp |
+++ b/src/image/SkImage_Gpu.cpp |
@@ -326,8 +326,7 @@ |
const SkIRect srcR = SkIRect::MakeWH(desc.fWidth, desc.fHeight); |
const SkIPoint dstP = SkIPoint::Make(0, 0); |
- ctx->copySurface(dst, src, srcR, dstP); |
- ctx->flushSurfaceWrites(dst); |
+ ctx->copySurface(dst, src, srcR, dstP, GrContext::kFlushWrites_PixelOp); |
return dst; |
} |