diff --git a/impeller/renderer/backend/gles/render_pass_gles.cc b/impeller/renderer/backend/gles/render_pass_gles.cc index 7a1cfea53322a..0bb937320c384 100644 --- a/impeller/renderer/backend/gles/render_pass_gles.cc +++ b/impeller/renderer/backend/gles/render_pass_gles.cc @@ -151,10 +151,6 @@ struct RenderPassData { const std::shared_ptr& tracer) { TRACE_EVENT0("impeller", "RenderPassGLES::EncodeCommandsInReactor"); - if (commands.empty()) { - return true; - } - const auto& gl = reactor.GetProcTable(); #ifdef IMPELLER_DEBUG tracer->MarkFrameStart(gl); @@ -517,9 +513,6 @@ bool RenderPassGLES::OnEncodeCommands(const Context& context) const { if (!IsValid()) { return false; } - if (commands_.empty()) { - return true; - } const auto& render_target = GetRenderTarget(); if (!render_target.HasColorAttachment(0u)) { return false;