diff options
Diffstat (limited to 'mino.c')
-rw-r--r-- | mino.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,8 +8,9 @@ V*make(Uz z){V*p;N(p=malloc(z), die("oom"))R p;} V*remk(V*p,Uz z){N(p=realloc(p,z),die("oom"))R p;} V del(V*p){free(p);} -I main(I ac,C**av){(V)ac,(V)av; +I main(I ac,C**av){(V)ac,(V)av;U32 cat; graph_init(); atexit(graph_deinit); - WH(1,graph_before(),graph_events(),graph_quad(),graph_after()); + cat=graph_tex_create("res/tex/cat.jpg"); + WH(1,graph_before(),graph_events(),graph_quad(cat),graph_after()); R 0;} |