aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy.h
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/teensy.h')
-rw-r--r--teensy/teensy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/teensy/teensy.h b/teensy/teensy.h
index 568430c..13216a8 100644
--- a/teensy/teensy.h
+++ b/teensy/teensy.h
@@ -123,6 +123,8 @@ void ty_img_set_pixel(
void ty_font_add_glyph(struct ty_font *font, uint8_t c, struct ty_image img);
int ty_font_width(struct ty_font *font, const char *fmt, ...);
+// Pass NULL to restore the screen.
+void ty_draw_set_target(const struct ty_image *img);
void ty_draw_clear(struct ty_color col);
void ty_draw_image(struct ty_image img, struct ty_vec2i pos);
void ty_draw_image_ex(