diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-09-13 12:14:23 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-09-13 12:14:23 +0200 |
| commit | d7238bf23e0ffc08c1fbaa8ce8df3bbc19326768 (patch) | |
| tree | ca026d5f91812dddb8985765cc33f37b1abbc20e /util | |
| parent | aad61d36aa52c34efd9060e049f79404f039b7bf (diff) | |
sokol_gfx.h mtl: cubemap faces => slices wip
Diffstat (limited to 'util')
| -rw-r--r-- | util/sokol_debugtext.h | 2 |
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); |