diff options
author | David Phillips <david@sighup.nz> | 2017-01-28 15:17:15 +1300 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-01-28 15:17:15 +1300 |
commit | 5abfed0347c799132e1045c0fc4724a283f6cc1d (patch) | |
tree | cfc4ee44e6dd25230ca17013222782630f1cb95f /tetris.c | |
parent | dec7d61e23e0b3cbdf406f83eb9e46042ad9bc2f (diff) | |
download | tetris-5abfed0347c799132e1045c0fc4724a283f6cc1d.tar.xz |
Refactor border/gap code
Diffstat (limited to 'tetris.c')
-rw-r--r-- | tetris.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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++) |