[Tizen] Add screen and client rotation itself function
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-instruction.h
index 1152321..91a48f4 100644 (file)
@@ -122,7 +122,7 @@ public:
   const Matrix* GetProjectionMatrix( BufferIndex index ) const
   {
     // inlined as this is called once per frame per render instruction
-    return &mCamera->GetProjectionMatrix( index );
+    return &mCamera->GetFinalProjectionMatrix( index );
   }
   // for reflection effect
   const Camera* GetCamera() const
@@ -149,8 +149,6 @@ public: // Data
 
   Render::FrameBuffer* mFrameBuffer;
 
-  Context* mContext;                    ///< The context holding the GL state of rendering
-
 private: // Data
 
   Camera* mCamera;  ///< camera that is used