summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneRenderer.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-09 01:57:27 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-09 01:57:27 +0000
commitd771fbda2c171cfbc36cc0eb3122c1a02ffbb081 (patch)
tree69d2879e41da2b79264b6c3b8500b5d18383ae85 /gfx/gl/sceneRenderer.cpp
parentWIP typedefing all the things - sources (diff)
downloadilt-d771fbda2c171cfbc36cc0eb3122c1a02ffbb081.tar.bz2
ilt-d771fbda2c171cfbc36cc0eb3122c1a02ffbb081.tar.xz
ilt-d771fbda2c171cfbc36cc0eb3122c1a02ffbb081.zip
WIP typedefing just about everything else
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 6965175..4a3fec9 100644
--- a/gfx/gl/sceneRenderer.cpp
+++ b/gfx/gl/sceneRenderer.cpp
@@ -135,7 +135,7 @@ SceneRenderer::DirectionalLightProgram::DirectionalLightProgram() :
void
SceneRenderer::DirectionalLightProgram::setDirectionalLight(const RGB & c, const Direction3D & d,
- const std::span<const glm::mat4x4> lvp, const std::span<const glm::vec4> shadowMapRegions,
+ const std::span<const glm::mat4x4> lvp, const std::span<const TextureRelRegion> shadowMapRegions,
std::size_t maps) const
{
glUniform3fv(colourLoc, 1, glm::value_ptr(c));