From 6ed8abafc6da77fdeb5ba042981c829fd3b5c20b Mon Sep 17 00:00:00 2001 From: Lynix Date: Sat, 19 Sep 2015 15:31:39 +0200 Subject: [PATCH] Ndk/RenderSystem: Fix compilation Former-commit-id: 25907facf61c77d64c1206ce4abe3e8018931ba7 --- SDK/src/NDK/Systems/RenderSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDK/src/NDK/Systems/RenderSystem.cpp b/SDK/src/NDK/Systems/RenderSystem.cpp index 7face4a5a..d242e6ce2 100644 --- a/SDK/src/NDK/Systems/RenderSystem.cpp +++ b/SDK/src/NDK/Systems/RenderSystem.cpp @@ -113,7 +113,7 @@ namespace Ndk NodeComponent& lightNode = light->GetComponent(); ///TODO: Cache somehow? - lightComponent.AddToRenderQueue(renderQueue, NzMatrix4f::ConcatenateAffine(m_coordinateSystemMatrix, drawableNode.GetTransformMatrix())); + lightComponent.AddToRenderQueue(renderQueue, NzMatrix4f::ConcatenateAffine(m_coordinateSystemMatrix, lightNode.GetTransformMatrix())); } camComponent.ApplyView();