aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_debugtext.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-09-13 12:14:23 +0200
committerAndre Weissflog <floooh@gmail.com>2025-09-13 12:14:23 +0200
commitd7238bf23e0ffc08c1fbaa8ce8df3bbc19326768 (patch)
treeca026d5f91812dddb8985765cc33f37b1abbc20e /util/sokol_debugtext.h
parentaad61d36aa52c34efd9060e049f79404f039b7bf (diff)
sokol_gfx.h mtl: cubemap faces => slices wip
Diffstat (limited to 'util/sokol_debugtext.h')
-rw-r--r--util/sokol_debugtext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h
index 3cdb308c..701e090c 100644
--- a/util/sokol_debugtext.h
+++ b/util/sokol_debugtext.h
@@ -4435,7 +4435,7 @@ static void _sdtx_setup_common(void) {
img_desc.width = 256 * 8;
img_desc.height = SDTX_MAX_FONTS * 8;
img_desc.pixel_format = SG_PIXELFORMAT_R8;
- img_desc.data.subimage[0][0] = SG_RANGE(_sdtx.font_pixels);
+ img_desc.data.subimage[0] = SG_RANGE(_sdtx.font_pixels);
img_desc.label = "sdtx-font-texture";
_sdtx.font_img = sg_make_image(&img_desc);
SOKOL_ASSERT(SG_INVALID_ID != _sdtx.font_img.id);