diff options
author | salaaad2 <arthudurant263@gmail.com> | 2020-02-24 23:14:16 +0100 |
---|---|---|
committer | salaaad2 <arthudurant263@gmail.com> | 2020-02-24 23:14:16 +0100 |
commit | 3363be36b7ffe90fc335e07ebb1dae14366216e8 (patch) | |
tree | 45378a3c0c54dde26d9a47ea49d5ca20489bfd99 /src/ft_draw_scene.c | |
parent | found 2 infinit loops hehe (diff) | |
download | 42-cub3d-3363be36b7ffe90fc335e07ebb1dae14366216e8.tar.gz 42-cub3d-3363be36b7ffe90fc335e07ebb1dae14366216e8.tar.bz2 42-cub3d-3363be36b7ffe90fc335e07ebb1dae14366216e8.tar.xz 42-cub3d-3363be36b7ffe90fc335e07ebb1dae14366216e8.tar.zst 42-cub3d-3363be36b7ffe90fc335e07ebb1dae14366216e8.zip |
gang
Diffstat (limited to 'src/ft_draw_scene.c')
-rw-r--r-- | src/ft_draw_scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c index b5f2283..0df3596 100644 --- a/src/ft_draw_scene.c +++ b/src/ft_draw_scene.c @@ -22,6 +22,7 @@ void clist->wlist->x_size, clist->wlist->y_size); clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp, &clist->img.sizeline, &clist->img.endian); + ft_calc_sprite(clist); ft_castray(clist); if (clist->ishud) ft_draw_hud(clist); |