summaryrefslogtreecommitdiff
path: root/ui/gameMainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gameMainWindow.cpp')
-rw-r--r--ui/gameMainWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp
index 8e7e711..99bee48 100644
--- a/ui/gameMainWindow.cpp
+++ b/ui/gameMainWindow.cpp
@@ -61,6 +61,7 @@ GameMainWindow::environment(const SceneShader & s, const SceneRenderer & r) cons
SceneRenderer::SceneProvider::environment(s, r);
}
void
-GameMainWindow::lights(const SceneShader &) const
+GameMainWindow::lights(const SceneShader & shader) const
{
+ gameState->world.apply<Renderable>(&Renderable::lights, shader);
}