diff options
| author | Simon Tatham <anakin@pobox.com> | 2013-03-30 16:59:17 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2013-03-30 16:59:17 +0000 |
| commit | d11691ec4a2faab20ad57cb668865289fe60a3b4 (patch) | |
| tree | be10a2255f5d293c3ca6d2d3ed8366876b1afc8a /nullgame.c | |
| parent | b5756838f326db5c579d2413599bb9a1c77e6f42 (diff) | |
| download | puzzles-d11691ec4a2faab20ad57cb668865289fe60a3b4.zip puzzles-d11691ec4a2faab20ad57cb668865289fe60a3b4.tar.gz puzzles-d11691ec4a2faab20ad57cb668865289fe60a3b4.tar.bz2 puzzles-d11691ec4a2faab20ad57cb668865289fe60a3b4.tar.xz | |
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]
Diffstat (limited to 'nullgame.c')
| -rw-r--r-- | nullgame.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |