aboutsummaryrefslogtreecommitdiff
path: root/tetris.c
diff options
context:
space:
mode:
Diffstat (limited to 'tetris.c')
-rw-r--r--tetris.c1
1 files changed, 1 insertions, 0 deletions
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++)