aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
authorsalaaad2 <arthudurant263@gmail.com>2020-02-24 23:14:16 +0100
committersalaaad2 <arthudurant263@gmail.com>2020-02-24 23:14:16 +0100
commit3363be36b7ffe90fc335e07ebb1dae14366216e8 (patch)
tree45378a3c0c54dde26d9a47ea49d5ca20489bfd99 /src/ft_draw_scene.c
parentfound 2 infinit loops hehe (diff)
download42-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.c1
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);