nullgame: Don't bother blanking the puzzle window

This is now centralised in the mid-end.
This commit is contained in:
Ben Harris
2022-11-13 17:56:53 +00:00
parent 8f46f437a7
commit fffeae956a

View File

@ -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,