Revert "[4.0] Discard render instruction if it is empty"
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-manager.cpp
index 712d268..9261a6d 100644 (file)
@@ -472,6 +472,8 @@ void RenderManager::Render( Integration::RenderStatus& status )
     GLenum attachments[] = { GL_DEPTH, GL_STENCIL };
     mImpl->context.InvalidateFramebuffer(GL_FRAMEBUFFER, 2, attachments);
 
+    mImpl->UpdateTrackers();
+
     //Notify RenderGeometries that rendering has finished
     for ( auto&& iter : mImpl->geometryContainer )
     {
@@ -479,8 +481,6 @@ void RenderManager::Render( Integration::RenderStatus& status )
     }
   }
 
-  mImpl->UpdateTrackers();
-
   // If this frame was rendered due to instructions existing, we mark this so we know to clear the next frame.
   mImpl->lastFrameWasRendered = haveInstructions;