diff options
Diffstat (limited to 'teensy/teensy_renderer.c')
| -rw-r--r-- | teensy/teensy_renderer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/teensy/teensy_renderer.c b/teensy/teensy_renderer.c index 173fbed..1e24248 100644 --- a/teensy/teensy_renderer.c +++ b/teensy/teensy_renderer.c @@ -293,7 +293,7 @@ void ty_draw_line( } } -void ty_draw_text(ty_Font *font, ty_Vec2i pos, const char *text) +void ty_draw_text(const ty_Font *font, ty_Vec2i pos, const char *text) { for (const uint8_t *c = (const uint8_t*)text; *c != '\0'; c++) { ty_Image glyph = font->glyphs[*c]; @@ -303,7 +303,7 @@ void ty_draw_text(ty_Font *font, ty_Vec2i pos, const char *text) } void ty_draw_text_fmt( - ty_Font *font, + const ty_Font *font, ty_Vec2i pos, const char *fmt, ... |
