[Tizen] Fix svace issue for rendererable 87/303287/1 accepted/tizen/7.0/unified/20231226.011000
authorEunki Hong <eunkiki.hong@samsung.com>
Fri, 22 Dec 2023 11:47:27 +0000 (20:47 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Fri, 22 Dec 2023 11:47:27 +0000 (20:47 +0900)
Change-Id: I5cb6bd3ee198340b6cd3bcf291212f4440d2ba69
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
dali/internal/update/manager/render-instruction-processor.cpp

index c55c95e..9ce4eaa 100644 (file)
@@ -259,7 +259,7 @@ inline void AddRendererToRenderList(BufferIndex               updateBufferIndex,
     bool isOpaque = true;
     if(!hasRenderCallback)
     {
-      bool isVisualRenderer = (isLayer3d && !!(renderable.mRenderer->GetVisualProperties()));
+      bool isVisualRenderer = (isLayer3d && !!(renderable.mRenderer && renderable.mRenderer->GetVisualProperties()));
       Renderer::OpacityType opacityType = renderable.mRenderer ? (isVisualRenderer ? Renderer::TRANSLUCENT : renderable.mRenderer->GetOpacityType(updateBufferIndex, renderPass, *node)) : Renderer::OPAQUE;
 
       // We can skip render when node is not clipping and transparent