aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_tex_init.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_tex_init.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ft_tex_init.c b/src/ft_tex_init.c
index 6c9edce..e27ffbe 100644
--- a/src/ft_tex_init.c
+++ b/src/ft_tex_init.c
@@ -52,9 +52,13 @@ static void
cl->tlist[7].ptr = mlx_get_data_addr(cl->tlist[7].img,
&cl->tlist[7].bpp, &cl->tlist[7].sizeline, &cl->tlist[7].endian);
cl->tlist[8].img = mlx_xpm_file_to_image(cl->wlist.wlx,
- cl->mlist.sprite_path, &cl->tlist[4].img_w, &cl->tlist[4].img_h);
+ "./media/img/hey.xpm", &cl->tlist[8].img_w, &cl->tlist[8].img_h);
cl->tlist[8].ptr = mlx_get_data_addr(cl->tlist[8].img,
&cl->tlist[8].bpp, &cl->tlist[8].sizeline, &cl->tlist[8].endian);
+ cl->tlist[9].img = mlx_xpm_file_to_image(cl->wlist.wlx,
+ "./media/img/crapaud.xpm", &cl->tlist[9].img_w, &cl->tlist[9].img_h);
+ cl->tlist[9].ptr = mlx_get_data_addr(cl->tlist[9].img,
+ &cl->tlist[9].bpp, &cl->tlist[9].sizeline, &cl->tlist[9].endian);
}
static void