diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-23 17:34:55 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-23 18:38:46 +0000 |
commit | 9c1fee14b25ad552ef36f9f08ff93bd3f02597e1 (patch) | |
tree | a22dc81abf4f03285a9ae9fe713db84bfede7013 /ui | |
parent | Add geometry shader support to build system (diff) | |
download | ilt-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.cpp | 2 |
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 |