projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Discard render instruction if it is empty
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
render
/
common
/
render-instruction-container.cpp
diff --git
a/dali/internal/render/common/render-instruction-container.cpp
b/dali/internal/render/common/render-instruction-container.cpp
index
3cbff8a
..
9b16af8
100644
(file)
--- a/
dali/internal/render/common/render-instruction-container.cpp
+++ b/
dali/internal/render/common/render-instruction-container.cpp
@@
-80,6
+80,10
@@
RenderInstruction& RenderInstructionContainer::At( BufferIndex bufferIndex, size
return *mInstructions[ bufferIndex ][ index ];
}
+void RenderInstructionContainer::DiscardCurrentInstruction( BufferIndex bufferIndex )
+{
+ mIndex[ bufferIndex ]--;
+}
} // namespace SceneGraph