From 78b4b043a4fe6be84dd36717c832951a0a464f63 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 10 Mar 2026 01:51:38 +0000 Subject: Switch frame and render buffer to DSA helpers --- gfx/gl/shadowStenciller.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gfx/gl/shadowStenciller.h') diff --git a/gfx/gl/shadowStenciller.h b/gfx/gl/shadowStenciller.h index 70dbca9..ff88ff7 100644 --- a/gfx/gl/shadowStenciller.h +++ b/gfx/gl/shadowStenciller.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 renderStencil(const glTexture &, const MeshBase &, Texture::AnyPtr texture) const; private: - glFrameBuffer fbo; + mutable glFramebuffer fbo; Program shadowCaster; Program::RequiredUniformLocation viewProjectionLoc {shadowCaster, "viewProjection"}; -- cgit v1.3