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]
This commit is contained in:
Simon Tatham
2013-03-30 16:59:17 +00:00
parent b5756838f3
commit d11691ec4a

View File

@ -224,6 +224,7 @@ static void game_redraw(drawing *dr, game_drawstate *ds, game_state *oldstate,
* covering the whole window. * covering the whole window.
*/ */
draw_rect(dr, 0, 0, 10*ds->tilesize, 10*ds->tilesize, COL_BACKGROUND); 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, static float game_anim_length(game_state *oldstate, game_state *newstate,