diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-08 16:02:56 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-08 16:02:56 +0000 |
| commit | 00fc3cb9b2c06026fab0e4760609fe02e027b6df (patch) | |
| tree | b84b527824ac1d5c999fc4a974fcf2c356b422ab /gfx/gl/billboardPainter.h | |
| parent | Replace gl_traits glTexParameter with glTexture::parameter DSA wrapper (diff) | |
| download | ilt-00fc3cb9b2c06026fab0e4760609fe02e027b6df.tar.bz2 ilt-00fc3cb9b2c06026fab0e4760609fe02e027b6df.tar.xz ilt-00fc3cb9b2c06026fab0e4760609fe02e027b6df.zip | |
Move all low level texture operations to DSA helpers in glTexture
Diffstat (limited to 'gfx/gl/billboardPainter.h')
| -rw-r--r-- | gfx/gl/billboardPainter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gl/billboardPainter.h b/gfx/gl/billboardPainter.h index 0f6334a..9f3a39a 100644 --- a/gfx/gl/billboardPainter.h +++ b/gfx/gl/billboardPainter.h @@ -13,10 +13,10 @@ public: BillboardPainter(); - static void configureBillBoardTextures(glTextures<3> &, GLsizei width, GLsizei height); + static void configureBillBoardTextures(glTextures<GL_TEXTURE_2D_ARRAY, 3> &, ImageDimensions); void setView(Angle angle, const glm::mat4 &); [[nodiscard]] Angle getAngle() const; - void renderBillBoard(const glTextures<3> &, const MeshBase &, Texture::AnyPtr texture) const; + void renderBillBoard(const glTextures<GL_TEXTURE_2D_ARRAY, 3> &, const MeshBase &, Texture::AnyPtr texture) const; private: glFrameBuffer fbo; |
