chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove the game_state parameter to game_colours(). No game
[sgt-puzzles.git]
/
pegs.c
diff --git
a/pegs.c
b/pegs.c
index 9b98c700fd93b561e66616ecb5f262c8b5b02e0d..592bf8bc46c6d14b317612202833fccfd8b8af19 100644
(file)
--- a/
pegs.c
+++ b/
pegs.c
@@
-940,7
+940,7
@@
static void game_set_size(drawing *dr, game_drawstate *ds,
ds->drag_background = blitter_new(dr, TILESIZE, TILESIZE);
}
ds->drag_background = blitter_new(dr, TILESIZE, TILESIZE);
}
-static float *game_colours(frontend *fe,
game_state *state,
int *ncolours)
+static float *game_colours(frontend *fe, int *ncolours)
{
float *ret = snewn(3 * NCOLOURS, float);
{
float *ret = snewn(3 * NCOLOURS, float);