Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 8c5abe78357eebb08731b3c887d603f4b56ca9ff..9d684aa1357a8ce86e227e8cee9262d69e8df321 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1537,12 +1537,7 @@ bool GrContext::readRenderTargetPixels(GrRenderTarget* target, |
void GrContext::resolveRenderTarget(GrRenderTarget* target) { |
SkASSERT(target); |
ASSERT_OWNED_RESOURCE(target); |
- if (!target->needsResolve()) { |
- return; |
- } |
- if (target->surfacePriv().hasPendingIO()) { |
- this->flush(); |
- } |
+ this->flush(); |
if (fGpu) { |
fGpu->resolveRenderTarget(target); |
} |