summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowStenciller.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-07-20 12:55:15 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-08-10 18:11:59 +0100
commit4ba67f34eac848e43bad2ccc4b5c09ac65dd7952 (patch)
tree999331eb0a08ab9c995e4d39b5d3980eb7f8018b /gfx/gl/shadowStenciller.h
parentCalculate and store the extents of a mesh (diff)
downloadilt-4ba67f34eac848e43bad2ccc4b5c09ac65dd7952.tar.bz2
ilt-4ba67f34eac848e43bad2ccc4b5c09ac65dd7952.tar.xz
ilt-4ba67f34eac848e43bad2ccc4b5c09ac65dd7952.zip
Use mesh extents for shadow stencil extents
Diffstat (limited to 'gfx/gl/shadowStenciller.h')
-rw-r--r--gfx/gl/shadowStenciller.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/gl/shadowStenciller.h b/gfx/gl/shadowStenciller.h
index 460fa68..5a22a7e 100644
--- a/gfx/gl/shadowStenciller.h
+++ b/gfx/gl/shadowStenciller.h
@@ -11,8 +11,7 @@ public:
[[nodiscard]]
static glTexture createStencilTexture(GLsizei width, GLsizei height);
- void renderStencil(const glTexture &, const MeshBase &, const RelativePosition3D & mins,
- const RelativePosition3D & maxs) const;
+ void renderStencil(const glTexture &, const MeshBase &) const;
private:
glFrameBuffer fbo;