summaryrefslogtreecommitdiff
path: root/ui/sceneRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/sceneRenderer.cpp')
-rw-r--r--ui/sceneRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/sceneRenderer.cpp b/ui/sceneRenderer.cpp
index 2202906..ffcc8e3 100644
--- a/ui/sceneRenderer.cpp
+++ b/ui/sceneRenderer.cpp
@@ -51,7 +51,7 @@ SceneRenderer::SceneRenderer(glm::ivec2 s, GLuint o) :
void
SceneRenderer::render(const SceneProvider & scene) const
{
- shader.setView(camera.GetViewProjection());
+ shader.setViewProjection(camera.GetViewProjection());
glViewport(0, 0, size.x, size.y);
// Geometry pass