summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowMapper.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-04 19:26:07 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-04 19:26:07 +0000
commit7136942f9d097a80fecbf0d937a59f95ef34c7d4 (patch)
tree3b4a680d70a5b35dd9df7bf404fce8661bd01191 /gfx/gl/shadowMapper.h
parentWe need to transform the model normals the same as we do the vertices (diff)
downloadilt-7136942f9d097a80fecbf0d937a59f95ef34c7d4.tar.bz2
ilt-7136942f9d097a80fecbf0d937a59f95ef34c7d4.tar.xz
ilt-7136942f9d097a80fecbf0d937a59f95ef34c7d4.zip
Explicit ShadowMapper size only, no default
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 dcd0a02..6782d60 100644
--- a/gfx/gl/shadowMapper.h
+++ b/gfx/gl/shadowMapper.h
@@ -8,7 +8,7 @@ class SceneProvider;
class ShadowMapper {
public:
- ShadowMapper(const glm::ivec2 & size = {1024, 1024});
+ ShadowMapper(const glm::ivec2 & size);
glm::mat4x4 update(const SceneProvider &, const glm::vec3 & direction) const;