diff options
Diffstat (limited to 'src/ft_tex_init.c')
-rw-r--r-- | src/ft_tex_init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ft_tex_init.c b/src/ft_tex_init.c index cae07bd..9a6da10 100644 --- a/src/ft_tex_init.c +++ b/src/ft_tex_init.c @@ -44,9 +44,11 @@ static void while (cl->mlist.sprite_path[i][0]) { cl->tlist[i + 7].img = mlx_xpm_file_to_image(cl->wlist.wlx, - cl->mlist.sprite_path[i], &cl->tlist[i + 7].img_w, &cl->tlist[i + 7].img_h); + cl->mlist.sprite_path[i], &cl->tlist[i + 7].img_w, + &cl->tlist[i + 7].img_h); cl->tlist[i + 7].ptr = mlx_get_data_addr(cl->tlist[i + 7].img, - &cl->tlist[i + 7].bpp, &cl->tlist[i + 7].sizeline, &cl->tlist[i + 7].endian); + &cl->tlist[i + 7].bpp, &cl->tlist[i + 7].sizeline, + &cl->tlist[i + 7].endian); i++; } } |