Fixing up test cases following render pass changes
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-manager.cpp
index 7b09ac4..a699135 100644 (file)
@@ -1161,8 +1161,8 @@ void RenderManager::RenderScene(Integration::RenderStatus& status, Integration::
 
     // End render pass
     mainCommandBuffer->EndRenderPass();
-    mImpl->renderAlgorithms.SubmitCommandBuffer();
   }
+  mImpl->renderAlgorithms.SubmitCommandBuffer();
 
   GLenum attachments[] = {GL_DEPTH, GL_STENCIL};
   mImpl->currentContext->InvalidateFramebuffer(GL_FRAMEBUFFER, 2, attachments);