diff options
| author | iamcheeseman <[email protected]> | 2026-05-13 21:24:21 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-13 21:24:21 -0400 |
| commit | 8d2793e9ef7cf7f742ec23e77c44ac21a624d01f (patch) | |
| tree | c8263278076d7c7fd575cfcf0dc35703e8dc426e /teensy/teensy_renderer.c | |
| parent | 13e6f3d8403f0fdbed4ead1d8eda4d9ed68ac080 (diff) | |
start ui
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, ... |
