diff options
| -rw-r--r-- | editor/editor.c | 2 | ||||
| -rw-r--r-- | teensy/teensy_ui.c | 2 | ||||
| -rw-r--r-- | teensy/teensy_ui.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor.c b/editor/editor.c index 7f88f59..53d24a3 100644 --- a/editor/editor.c +++ b/editor/editor.c @@ -19,7 +19,7 @@ void tick(void) break; } - tyui_draw(); + tyui_end_frame(); } ty_Image load_qoi_image(const char *path) diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c index 3e10614..374d2bf 100644 --- a/teensy/teensy_ui.c +++ b/teensy/teensy_ui.c @@ -653,7 +653,7 @@ void update_windows(void) } } -void tyui_draw(void) +void tyui_end_frame(void) { draw_window(&tyui.root); diff --git a/teensy/teensy_ui.h b/teensy/teensy_ui.h index a7b5d4e..abcf291 100644 --- a/teensy/teensy_ui.h +++ b/teensy/teensy_ui.h @@ -104,6 +104,6 @@ void tyui_slider_ex( void tyui_text_input(tyui_Text_Input *input); // Draws all accumulated draw commands and initializes the next frame. -void tyui_draw(void); +void tyui_end_frame(void); #endif // TEENSY_UI_H_ |
