summaryrefslogtreecommitdiff
path: root/gfx/gl/billboardPainter.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-03-07 11:59:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-03-07 11:59:24 +0000
commit712007d8fccae219154a69c83827413025ca08be (patch)
treed4a983b4896d7d05870294b4f38de182fe55ec35 /gfx/gl/billboardPainter.h
parentMerge branch 'glalloc' (diff)
downloadilt-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/billboardPainter.h')
-rw-r--r--gfx/gl/billboardPainter.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/gl/billboardPainter.h b/gfx/gl/billboardPainter.h
index 33c807c..0f6334a 100644
--- a/gfx/gl/billboardPainter.h
+++ b/gfx/gl/billboardPainter.h
@@ -13,8 +13,7 @@ public:
BillboardPainter();
- [[nodiscard]]
- static glTextures<3> createBillBoardTextures(GLsizei width, GLsizei height);
+ static void configureBillBoardTextures(glTextures<3> &, GLsizei width, GLsizei height);
void setView(Angle angle, const glm::mat4 &);
[[nodiscard]] Angle getAngle() const;
void renderBillBoard(const glTextures<3> &, const MeshBase &, Texture::AnyPtr texture) const;