summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowMapper.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-29 00:15:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-29 00:15:10 +0000
commitc7d16559dc9fc00e610ef24e1c3331678e36f2bd (patch)
tree7cd889c64f8041f057a6758e0872e047bd9f5f13 /gfx/gl/shadowMapper.h
parentTidy Camera::extentsAtDist (diff)
downloadilt-c7d16559dc9fc00e610ef24e1c3331678e36f2bd.tar.bz2
ilt-c7d16559dc9fc00e610ef24e1c3331678e36f2bd.tar.xz
ilt-c7d16559dc9fc00e610ef24e1c3331678e36f2bd.zip
Add missing explicit on constructors
Diffstat (limited to 'gfx/gl/shadowMapper.h')
-rw-r--r--gfx/gl/shadowMapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shadowMapper.h b/gfx/gl/shadowMapper.h
index 7065ffe..0ce6898 100644
--- a/gfx/gl/shadowMapper.h
+++ b/gfx/gl/shadowMapper.h
@@ -9,7 +9,7 @@ class Camera;
class ShadowMapper {
public:
- ShadowMapper(const glm::ivec2 & size);
+ explicit ShadowMapper(const glm::ivec2 & size);
static constexpr std::size_t SHADOW_BANDS {4};
template<std::size_t S> struct Definitions {