summaryrefslogtreecommitdiff
path: root/gfx/gl
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-11-09 17:38:39 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-11-09 17:38:39 +0000
commitb44d10c03299953104266f01f6415b945e6520b9 (patch)
tree57b4cf079818394b7f74838185447ceca8e49993 /gfx/gl
parentWIP typedefing just about everything else (diff)
downloadilt-b44d10c03299953104266f01f6415b945e6520b9.tar.bz2
ilt-b44d10c03299953104266f01f6415b945e6520b9.tar.xz
ilt-b44d10c03299953104266f01f6415b945e6520b9.zip
Fix definition of shadowMapRegions
Diffstat (limited to 'gfx/gl')
-rw-r--r--gfx/gl/shadowMapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shadowMapper.cpp b/gfx/gl/shadowMapper.cpp
index 94a0791..e4ee47a 100644
--- a/gfx/gl/shadowMapper.cpp
+++ b/gfx/gl/shadowMapper.cpp
@@ -57,7 +57,7 @@ constexpr std::array<std::array<TextureAbsRegion, ShadowMapper::SHADOW_BANDS>, S
{1, 1, 1, 1}, // upper right
}},
}};
-constexpr std::array<std::array<TextureAbsRegion, ShadowMapper::SHADOW_BANDS>, ShadowMapper::SHADOW_BANDS>
+constexpr std::array<std::array<TextureRelRegion, ShadowMapper::SHADOW_BANDS>, ShadowMapper::SHADOW_BANDS>
shadowMapRegions {{
{{
{0.5F, 0.5F, 0.5F, 0.5F}, // full