From d11691ec4a2faab20ad57cb668865289fe60a3b4 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 30 Mar 2013 16:59:17 +0000 Subject: [PATCH] Found a bug in nullgame! Its vestigial game_redraw lacked a draw_update, which isn't really setting a good example for people cloning it :-) Add the missing draw_update call. [originally from svn r9776] --- nullgame.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nullgame.c b/nullgame.c index 5a0ba42..4e68bf2 100644 --- a/nullgame.c +++ b/nullgame.c @@ -224,6 +224,7 @@ static void game_redraw(drawing *dr, game_drawstate *ds, game_state *oldstate, * 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(game_state *oldstate, game_state *newstate, -- 2.30.2