From 852c821e4727cbfaf562e955637cdb38948bae5b Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Tue, 13 Aug 2024 14:43:36 +0900 Subject: [PATCH] Match trace begin/end tag for DALI_RENDER_FINISHED if their is no target Change-Id: I7f90ce6e082e8e1495b474a3f3524a4c4a0821e4 Signed-off-by: Eunki, Hong --- dali/internal/render/common/render-manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dali/internal/render/common/render-manager.cpp b/dali/internal/render/common/render-manager.cpp index df2452b..784ad85 100644 --- a/dali/internal/render/common/render-manager.cpp +++ b/dali/internal/render/common/render-manager.cpp @@ -1218,6 +1218,7 @@ void RenderManager::RenderScene(Integration::RenderStatus& status, Integration:: mImpl->renderAlgorithms.SubmitCommandBuffer(); mImpl->commandBufferSubmitted = true; + if(targetsToPresent.size() > 0u) { std::sort(targetsToPresent.begin(), targetsToPresent.end()); -- 2.7.4