Revert "[4.0] Discard render instruction if it is empty"
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-instruction-container.cpp
index 9b16af8..3cbff8a 100644 (file)
@@ -80,10 +80,6 @@ RenderInstruction& RenderInstructionContainer::At( BufferIndex bufferIndex, size
   return *mInstructions[ bufferIndex ][ index ];
 }
 
-void RenderInstructionContainer::DiscardCurrentInstruction( BufferIndex bufferIndex )
-{
-  mIndex[ bufferIndex ]--;
-}
 
 } // namespace SceneGraph