diff options
-rwxr-xr-x | src/gpu/GrContext.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 8c5abe7835..9d684aa135 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); } |