[Tizen] Use a proper projection matrix 73/267073/1
authorHeeyong Song <heeyong.song@samsung.com>
Thu, 25 Nov 2021 03:57:11 +0000 (12:57 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Thu, 25 Nov 2021 04:17:27 +0000 (13:17 +0900)
Change-Id: I81e3a996eddcfc4d5ad2f2037694b4fdaf2a9154

dali/internal/update/render-tasks/scene-graph-camera.cpp

index 5d3bab8..cd3be71 100644 (file)
@@ -609,7 +609,7 @@ uint32_t Camera::UpdateProjection(BufferIndex updateBufferIndex)
       // The projection matrix was updated in the previous frame; copy it
       mProjectionMatrix.CopyPrevious(updateBufferIndex);
 
-      finalProjection = mProjectionMatrix[updateBufferIndex];
+      finalProjection = mFinalProjection[updateBufferIndex ? 0 : 1];
     }
     else // UPDATE_COUNT == mUpdateProjectionFlag
     {