summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2012-04-27 16:59:24 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2012-04-27 17:09:54 (GMT)
commit6101c04ff9ee55e2be9a100a76a65ed1559ca24a (patch)
tree2f36da1315ed8cf3f51d2582641bce5b1ae45d48 /src/main.c
parentc8a1524d6bf6bd9e249b31dcf699b589ae50cbba (diff)
downloadpowder-6101c04ff9ee55e2be9a100a76a65ed1559ca24a.zip
powder-6101c04ff9ee55e2be9a100a76a65ed1559ca24a.tar.gz
Use an array instead of ctype to cache tron colour
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f6e741c..4e60674 100644
--- a/src/main.c
+++ b/src/main.c
@@ -657,6 +657,7 @@ int main(int argc, char *argv[])
colour_mode = COLOUR_DEFAULT;
init_display_modes();
+ TRON_init_graphics();
sys_pause = 1;
parts = calloc(sizeof(particle), NPART);
@@ -806,6 +807,7 @@ int main(int argc, char *argv[])
colour_mode = COLOUR_DEFAULT;
init_display_modes();
+ TRON_init_graphics();
//fbi_img = render_packed_rgb(fbi, FBI_W, FBI_H, FBI_CMP);