increase draw buffers

This commit is contained in:
2023-06-07 13:41:09 +00:00
parent 6a1a06be76
commit 6c0e850180
5 changed files with 15 additions and 5 deletions

View File

@@ -193,8 +193,6 @@ struct sFont *MakeFont(const char *fontfile, int height) {
newfont->emscale = stbtt_ScaleForMappingEmToPixels(&fontinfo, 16);
newfont->linegap = (newfont->ascent - newfont->descent)* 2 * newfont->emscale;
YughWarn("Font ascent descent is %g", (newfont->ascent-newfont->descent)*newfont->emscale);
newfont->texID = sg_make_image(&(sg_image_desc){
.type = SG_IMAGETYPE_2D,
.width = packsize,