chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b575683
)
Found a bug in nullgame! Its vestigial game_redraw lacked a
author
Simon Tatham
<anakin@pobox.com>
Sat, 30 Mar 2013 16:59:17 +0000
(16:59 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Sat, 30 Mar 2013 16:59:17 +0000
(16:59 +0000)
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
patch
|
blob
|
history
diff --git
a/nullgame.c
b/nullgame.c
index 5a0ba42e69c215a6281e9e7b8dc8954f18078252..4e68bf274922229ae0b963e79b9541bfc74808de 100644
(file)
--- 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,