smaller glyph structure

This commit is contained in:
Alessandro Mauri 2023-03-08 18:10:28 +01:00
parent 925be11603
commit 4c2b0ef847
2 changed files with 3 additions and 2 deletions

View file

@ -708,7 +708,7 @@ int ren_render_text(const char *str, int x, int y, int w, int h, int size)
const struct font_glyph *g;
size_t ret, off;
uint32_t cp;
int updated, gx = x, gy = y;
int gx = x, gy = y;
int idx = ren_get_font(size);
if (idx < 0)
return -1;