summaryrefslogtreecommitdiff
path: root/gfx/gl
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-03-11 02:23:59 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-03-11 02:45:48 +0000
commit420604efafdacc89ff38d3fb5dbdec3c4b30767f (patch)
treef6ee1b8bcc5d045cd8ccb6928ba08bd4f7a511a8 /gfx/gl
parentSplit addAttribsFor away from requiring a buffer to bind (diff)
downloadilt-420604efafdacc89ff38d3fb5dbdec3c4b30767f.tar.bz2
ilt-420604efafdacc89ff38d3fb5dbdec3c4b30767f.tar.xz
ilt-420604efafdacc89ff38d3fb5dbdec3c4b30767f.zip
Sprinkling of glDebugScope in assets and render parts
Diffstat (limited to 'gfx/gl')
-rw-r--r--gfx/gl/shadowStenciller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/shadowStenciller.cpp b/gfx/gl/shadowStenciller.cpp
index 9d43fdc..77ce309 100644
--- a/gfx/gl/shadowStenciller.cpp
+++ b/gfx/gl/shadowStenciller.cpp
@@ -39,6 +39,7 @@ ShadowStenciller::getLightDirection() const
void
ShadowStenciller::configureStencilTexture(glTexture<GL_TEXTURE_2D_ARRAY> & stencil, ImageDimensions size)
{
+ glDebugScope _ {0};
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
stencil.storage(1, GL_DEPTH_COMPONENT16, size || STENCIL_ANGLES<GLsizei>);
stencil.parameter(GL_TEXTURE_MIN_FILTER, GL_LINEAR);