summaryrefslogtreecommitdiff
path: root/gfx/gl/billboardPainter.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-03-10 01:51:38 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-03-10 01:51:38 +0000
commit78b4b043a4fe6be84dd36717c832951a0a464f63 (patch)
treebc82ca1c59d309491323779ebbe3195b4479b546 /gfx/gl/billboardPainter.h
parentSwitch to floating point, camera relative position buffer (diff)
downloadilt-78b4b043a4fe6be84dd36717c832951a0a464f63.tar.bz2
ilt-78b4b043a4fe6be84dd36717c832951a0a464f63.tar.xz
ilt-78b4b043a4fe6be84dd36717c832951a0a464f63.zip
Switch frame and render buffer to DSA helpersHEADmain
Diffstat (limited to 'gfx/gl/billboardPainter.h')
-rw-r--r--gfx/gl/billboardPainter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/gl/billboardPainter.h b/gfx/gl/billboardPainter.h
index 9f3a39a..617f431 100644
--- a/gfx/gl/billboardPainter.h
+++ b/gfx/gl/billboardPainter.h
@@ -1,9 +1,9 @@
#pragma once
-#include "gfx/gl/program.h"
#include "gfx/models/mesh.h"
#include "gfx/models/texture.h"
-#include "glArrays.h"
+#include "glFramebuffer.h"
+#include "program.h"
class LightDirection;
@@ -19,7 +19,7 @@ public:
void renderBillBoard(const glTextures<GL_TEXTURE_2D_ARRAY, 3> &, const MeshBase &, Texture::AnyPtr texture) const;
private:
- glFrameBuffer fbo;
+ mutable glFramebuffer fbo;
Program program;
Program::RequiredUniformLocation viewProjectionLoc {program, "viewProjection"};
Program::RequiredUniformLocation viewLoc {program, "view"};