aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer.h')
-rw-r--r--src/renderer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/renderer.h b/src/renderer.h
index fd48bcf..a240b17 100644
--- a/src/renderer.h
+++ b/src/renderer.h
@@ -46,6 +46,9 @@ void draw_filled_rect(size_t x0, size_t y0, size_t x1, size_t y1, u8 clr);
46// some merging issues if we are not careful with the chosen colors. 46// some merging issues if we are not careful with the chosen colors.
47void draw_tile(size_t x, size_t y, Tile *tile, bool merge); 47void draw_tile(size_t x, size_t y, Tile *tile, bool merge);
48 48
49// Fills the framebuffer with color 0.
50void clear_screen(void);
51
49// Copies the content of dirty tiles from the backbuffer into the frontbuffer. 52// Copies the content of dirty tiles from the backbuffer into the frontbuffer.
50// To be called exactly once at the beginning of the VBlank. 53// To be called exactly once at the beginning of the VBlank.
51void flip_buffer(void); 54void flip_buffer(void);