From 5abfed0347c799132e1045c0fc4724a283f6cc1d Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 28 Jan 2017 15:17:15 +1300 Subject: Refactor border/gap code --- tetris.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tetris.c') diff --git a/tetris.c b/tetris.c index c94420f..ce60f21 100644 --- a/tetris.c +++ b/tetris.c @@ -27,6 +27,7 @@ struct colour palette[] = { void draw_board(struct colour* (*board)[WIDTH_CELLS][HEIGHT_CELLS]) { unsigned int x,y; + plot_clear(); for (y = 0; y < HEIGHT_CELLS; y++) { for (x = 0; x < WIDTH_CELLS; x++) -- cgit v1.1