From fffeae956a0080866c824a68638813dfc9a8bfd1 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 13 Nov 2022 17:56:53 +0000 Subject: [PATCH] nullgame: Don't bother blanking the puzzle window This is now centralised in the mid-end. --- nullgame.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/nullgame.c b/nullgame.c index d923bc8..d973e17 100644 --- a/nullgame.c +++ b/nullgame.c @@ -220,14 +220,6 @@ static void game_redraw(drawing *dr, game_drawstate *ds, int dir, const game_ui *ui, float animtime, float flashtime) { - /* - * The initial contents of the window are not guaranteed and - * can vary with front ends. To be on the safe side, all games - * should start by drawing a big background-colour rectangle - * covering the whole window. - */ - draw_rect(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize, COL_BACKGROUND); - draw_update(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize); } static float game_anim_length(const game_state *oldstate,