diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-07-21 13:18:50 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-07-21 13:18:50 +0200 |
| commit | 65cbe246f3509bbc60fd08d78b0d5a38f2df7edd (patch) | |
| tree | 822167573caba69d19aac8b0fe452dd2d3992fca /util | |
| parent | 8dbc508f9ed40f6f9c826ea3024c88dfd932cccd (diff) | |
sokol_debugtext.h: add a label for the font texture view
Diffstat (limited to 'util')
| -rw-r--r-- | util/sokol_debugtext.h | 1 |
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); |