diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-07 11:59:24 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-07 11:59:24 +0000 |
| commit | 712007d8fccae219154a69c83827413025ca08be (patch) | |
| tree | d4a983b4896d7d05870294b4f38de182fe55ec35 /gfx/gl/shadowStenciller.h | |
| parent | Merge branch 'glalloc' (diff) | |
| download | ilt-712007d8fccae219154a69c83827413025ca08be.tar.bz2 ilt-712007d8fccae219154a69c83827413025ca08be.tar.xz ilt-712007d8fccae219154a69c83827413025ca08be.zip | |
Don't create and then replace shadow and billboard textures
Diffstat (limited to 'gfx/gl/shadowStenciller.h')
| -rw-r--r-- | gfx/gl/shadowStenciller.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/gl/shadowStenciller.h b/gfx/gl/shadowStenciller.h index 27ad9f9..028bfa1 100644 --- a/gfx/gl/shadowStenciller.h +++ b/gfx/gl/shadowStenciller.h @@ -13,8 +13,7 @@ public: ShadowStenciller(); - [[nodiscard]] - static glTexture createStencilTexture(GLsizei width, GLsizei height); + static void configureStencilTexture(glTexture &, GLsizei width, GLsizei height); void setLightDirection(const LightDirection & lightDir); [[nodiscard]] Direction2D getLightDirection() const; void renderStencil(const glTexture &, const MeshBase &, Texture::AnyPtr texture) const; |
