summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b268cf1)
RenderItem can be re-used.
Before using RenderItem again, initialize mDepthIndex to 0.
Change-Id: I47b9261767cb3dbc104db2049d893bf439d3bd98
Signed-off-by: minho.sun <minho.sun@samsung.com>
item.mNode = renderable.mNode;
item.mIsOpaque = ( opacityType == Renderer::OPAQUE );
item.mNode = renderable.mNode;
item.mIsOpaque = ( opacityType == Renderer::OPAQUE );
+ item.mDepthIndex = 0;
+
+ if(!isLayer3d)
{
item.mDepthIndex = renderable.mNode->GetDepthIndex();
}
{
item.mDepthIndex = renderable.mNode->GetDepthIndex();
}