diff --git a/src/image/SkImage_GpuBase.cpp b/src/image/SkImage_GpuBase.cpp index d130944563..4679a73ce9 100644 --- a/src/image/SkImage_GpuBase.cpp +++ b/src/image/SkImage_GpuBase.cpp @@ -373,10 +373,6 @@ bool SkImage_GpuBase::RenderYUVAToRGBA(GrContext* ctx, GrRenderTargetContext* re paint.addColorFragmentProcessor(std::move(fp)); renderTargetContext->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, SkMatrix::I(), rect); - - // DDL TODO: in the promise image version we must not flush here - ctx->priv().flush(renderTargetContext->asSurfaceProxy()); - return true; }