diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2020-02-28 15:30:53 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2020-02-28 15:30:53 +0100 |
commit | 8f852afcfa170070b6f0ac2e321546990d87e401 (patch) | |
tree | c75ea70c8de7d3a7e349ae8d10adec1eab5917ae /src/ft_draw_scene.c | |
parent | lets GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO... (diff) | |
download | 42-cub3d-8f852afcfa170070b6f0ac2e321546990d87e401.tar.gz 42-cub3d-8f852afcfa170070b6f0ac2e321546990d87e401.tar.bz2 42-cub3d-8f852afcfa170070b6f0ac2e321546990d87e401.tar.xz 42-cub3d-8f852afcfa170070b6f0ac2e321546990d87e401.tar.zst 42-cub3d-8f852afcfa170070b6f0ac2e321546990d87e401.zip |
gang
Diffstat (limited to 'src/ft_draw_scene.c')
-rw-r--r-- | src/ft_draw_scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c index 3f43495..f974d42 100644 --- a/src/ft_draw_scene.c +++ b/src/ft_draw_scene.c @@ -23,9 +23,9 @@ void clist->img.ptr = mlx_get_data_addr(clist->img.img, &clist->img.bpp, &clist->img.sizeline, &clist->img.endian); ft_castray(clist); - ft_calc_sprite(clist); if (clist->ishud) ft_draw_hud(clist); + ft_calc_sprite(clist); mlx_put_image_to_window(clist->wlist->wlx, clist->wlist->winptr, clist->img.img, 0, 0); mlx_destroy_image(clist->wlist->wlx, clist->img.img); |