diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-09 17:38:39 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-11-09 17:38:39 +0000 |
commit | b44d10c03299953104266f01f6415b945e6520b9 (patch) | |
tree | 57b4cf079818394b7f74838185447ceca8e49993 /gfx | |
parent | WIP typedefing just about everything else (diff) | |
download | ilt-b44d10c03299953104266f01f6415b945e6520b9.tar.bz2 ilt-b44d10c03299953104266f01f6415b945e6520b9.tar.xz ilt-b44d10c03299953104266f01f6415b945e6520b9.zip |
Fix definition of shadowMapRegions
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/gl/shadowMapper.cpp | 2 |
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 |