Fix secondary command buffer Begin flag 70/314770/1
authorDavid Steele <david.steele@samsung.com>
Thu, 18 Jul 2024 17:38:48 +0000 (18:38 +0100)
committerDavid Steele <david.steele@samsung.com>
Thu, 18 Jul 2024 17:38:48 +0000 (18:38 +0100)
Change-Id: I52db5f89da394444bcb248ff97ed0a2b0bf2b6da

dali/internal/render/common/render-algorithms.cpp

index 8a7b10e..733b1fb 100644 (file)
@@ -617,7 +617,7 @@ inline void RenderAlgorithms::ProcessRenderList(const RenderList&
 
   // We are always "inside" a render pass here.
   Graphics::CommandBufferBeginInfo info;
-  info.usage = 0 | Graphics::CommandBufferUsageFlagBits::RENDER_PASS_CONTINUE;
+  info.usage = 0 | Graphics::CommandBufferUsageFlagBits::ONE_TIME_SUBMIT;
   secondaryCommandBuffer.Begin(info);
 
   secondaryCommandBuffer.SetViewport(ViewportFromClippingBox(sceneSize, mViewportRectangle, orientation));