summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneRenderer.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-11 14:07:02 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-11 14:07:02 +0000
commit56d0787bf26c64f83a2616a5eff0b15f2e3066e0 (patch)
tree94d3255948ad374dc864aa2abe1defa3aaefa8b4 /gfx/gl/sceneRenderer.cpp
parentSupport saving a normals texture (diff)
downloadilt-56d0787bf26c64f83a2616a5eff0b15f2e3066e0.tar.bz2
ilt-56d0787bf26c64f83a2616a5eff0b15f2e3066e0.tar.xz
ilt-56d0787bf26c64f83a2616a5eff0b15f2e3066e0.zip
Fix case of GetViewProjection
Diffstat (limited to 'gfx/gl/sceneRenderer.cpp')
-rw-r--r--gfx/gl/sceneRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/sceneRenderer.cpp b/gfx/gl/sceneRenderer.cpp
index ecf83a0..b3f2c47 100644
--- a/gfx/gl/sceneRenderer.cpp
+++ b/gfx/gl/sceneRenderer.cpp
@@ -55,7 +55,7 @@ SceneRenderer::SceneRenderer(glm::ivec2 s, GLuint o) :
void
SceneRenderer::render(const SceneProvider & scene) const
{
- shader.setViewProjection(camera.GetViewProjection());
+ shader.setViewProjection(camera.getViewProjection());
glViewport(0, 0, size.x, size.y);
// Geometry pass