aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_debugtext.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-07-21 13:18:50 +0200
committerAndre Weissflog <floooh@gmail.com>2025-07-21 13:18:50 +0200
commit65cbe246f3509bbc60fd08d78b0d5a38f2df7edd (patch)
tree822167573caba69d19aac8b0fe452dd2d3992fca /util/sokol_debugtext.h
parent8dbc508f9ed40f6f9c826ea3024c88dfd932cccd (diff)
sokol_debugtext.h: add a label for the font texture view
Diffstat (limited to 'util/sokol_debugtext.h')
-rw-r--r--util/sokol_debugtext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h
index 34a24088..8e990770 100644
--- a/util/sokol_debugtext.h
+++ b/util/sokol_debugtext.h
@@ -4440,6 +4440,7 @@ static void _sdtx_setup_common(void) {
sg_view_desc view_desc;
_sdtx_clear(&view_desc, sizeof(view_desc));
view_desc.texture.image = _sdtx.font_img;
+ view_desc.label = "sdtx-font-texture-view";
_sdtx.font_view = sg_make_view(&view_desc);
SOKOL_ASSERT(SG_INVALID_ID != _sdtx.font_view.id);