From 46a2547af20f8b2c56e144170d958658e609b747 Mon Sep 17 00:00:00 2001 From: D-AIRY <admin@ds-servers.com> Date: Sat, 2 May 2020 08:32:57 +0300 Subject: [PATCH] Fixed alignment --- source/common | 2 +- source/light/ShadowCache.h | 1 - source/light/light.h | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/source/common b/source/common index a887a31b4..84f4b39f5 160000 --- a/source/common +++ b/source/common @@ -1 +1 @@ -Subproject commit a887a31b4b9541a0997e9fa8ac34ad62977813fc +Subproject commit 84f4b39f550925479257f3032002e9aab2a5999e diff --git a/source/light/ShadowCache.h b/source/light/ShadowCache.h index 3efd3f56e..757b73c4e 100644 --- a/source/light/ShadowCache.h +++ b/source/light/ShadowCache.h @@ -121,7 +121,6 @@ protected: { private: IXRenderPipeline *m_pRenderPipeline; - //! @fixme this should be properly aligned! Array<T> m_aMaps; Array<T*> m_aMapsQueue; LIGHT_RENDER_TYPE m_renderType; diff --git a/source/light/light.h b/source/light/light.h index b67b0c18b..0beee8742 100644 --- a/source/light/light.h +++ b/source/light/light.h @@ -30,6 +30,8 @@ public: CXLight(CLightSystem *pLightSystem); ~CXLight(); + SX_ALIGNED_OP_MEM2(); + LIGHT_TYPE getType(); float3 getColor(); @@ -141,8 +143,6 @@ protected: class CXLightSun: public CXLight, public virtual IXLightSun { public: - SX_ALIGNED_OP_MEM2(); - CXLightSun(CLightSystem *pLightSystem); ~CXLightSun(); -- GitLab