summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowStenciller.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shadowStenciller.h')
-rw-r--r--gfx/gl/shadowStenciller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gl/shadowStenciller.h b/gfx/gl/shadowStenciller.h
index 028bfa1..70dbca9 100644
--- a/gfx/gl/shadowStenciller.h
+++ b/gfx/gl/shadowStenciller.h
@@ -13,10 +13,10 @@ public:
ShadowStenciller();
- static void configureStencilTexture(glTexture &, GLsizei width, GLsizei height);
+ static void configureStencilTexture(glTexture<GL_TEXTURE_2D_ARRAY> &, ImageDimensions);
void setLightDirection(const LightDirection & lightDir);
[[nodiscard]] Direction2D getLightDirection() const;
- void renderStencil(const glTexture &, const MeshBase &, Texture::AnyPtr texture) const;
+ void renderStencil(const glTexture<GL_TEXTURE_2D_ARRAY> &, const MeshBase &, Texture::AnyPtr texture) const;
private:
glFrameBuffer fbo;