Added camera to PickingPass and fixed memory leak

This commit is contained in:
viktorljung
2016-01-11 10:47:39 +01:00
parent a7b43b06a2
commit b8db80bc40
4 changed files with 9 additions and 3 deletions
+1
View File
@@ -263,4 +263,5 @@ void RenderSystem::Update(World* world, double dt)
rs->Camera = m_Camera;
FillModels(&rs->Forward);
m_RenderFrame->Add(*rs);
delete rs;
}