summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-11-23 17:34:55 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-11-23 18:38:46 +0000
commit9c1fee14b25ad552ef36f9f08ff93bd3f02597e1 (patch)
treea22dc81abf4f03285a9ae9fe713db84bfede7013 /ui
parentAdd geometry shader support to build system (diff)
downloadilt-9c1fee14b25ad552ef36f9f08ff93bd3f02597e1.tar.bz2
ilt-9c1fee14b25ad552ef36f9f08ff93bd3f02597e1.tar.xz
ilt-9c1fee14b25ad552ef36f9f08ff93bd3f02597e1.zip
Rename setView to setViewProjection to avoid ambiguity
Diffstat (limited to 'ui')
-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