diff options
Diffstat (limited to 'util/sokol_debugtext.h')
| -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); |