From 712007d8fccae219154a69c83827413025ca08be Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 7 Mar 2026 11:59:24 +0000 Subject: Don't create and then replace shadow and billboard textures --- gfx/gl/billboardPainter.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gfx/gl/billboardPainter.h') 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; -- cgit v1.3