chiark / gitweb /
Missing draw_update call.
authorSimon Tatham <anakin@pobox.com>
Tue, 11 May 2004 23:22:08 +0000 (23:22 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 11 May 2004 23:22:08 +0000 (23:22 +0000)
[originally from svn r4216]

rect.c

diff --git a/rect.c b/rect.c
index 846811e7e2ff13d9cafe2c6c3b86e69c229d03ca..35d7c25e32710b617f67a995f9e2a72d1e24e344 100644 (file)
--- a/rect.c
+++ b/rect.c
@@ -1222,6 +1222,9 @@ void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate,
        draw_rect(fe, COORD(0)-1, COORD(0)-1,
                  ds->w*TILE_SIZE+3, ds->h*TILE_SIZE+3, COL_LINE);
        ds->started = TRUE;
+       draw_update(fe, 0, 0,
+                   state->w * TILE_SIZE + 2*BORDER + 1,
+                   state->h * TILE_SIZE + 2*BORDER + 1);
     }
 
     for (x = 0; x < state->w; x++)