aboutsummaryrefslogtreecommitdiff
path: root/tetris.c
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-01-28 15:17:15 +1300
committerDavid Phillips <david@sighup.nz>2017-01-28 15:17:15 +1300
commit5abfed0347c799132e1045c0fc4724a283f6cc1d (patch)
treecfc4ee44e6dd25230ca17013222782630f1cb95f /tetris.c
parentdec7d61e23e0b3cbdf406f83eb9e46042ad9bc2f (diff)
downloadtetris-5abfed0347c799132e1045c0fc4724a283f6cc1d.tar.xz
Refactor border/gap code
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++)