aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
authorsalaaad2 <arthudurant263@gmail.com>2020-03-10 16:16:08 +0100
committersalaaad2 <arthudurant263@gmail.com>2020-03-10 16:16:08 +0100
commit0d589d0038624e3123e6166f6521d1421dd69b23 (patch)
tree26db0ad344a9c730192eea0bff01bb410ba225b7 /src/ft_draw_scene.c
parentstill retard (diff)
parentok now (diff)
download42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.tar.gz
42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.tar.bz2
42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.tar.xz
42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.tar.zst
42-cub3d-0d589d0038624e3123e6166f6521d1421dd69b23.zip
merge master
Diffstat (limited to '')
-rw-r--r--src/ft_draw_scene.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_draw_scene.c b/src/ft_draw_scene.c
index 68a72e9..2cfa3f4 100644
--- a/src/ft_draw_scene.c
+++ b/src/ft_draw_scene.c
@@ -50,6 +50,8 @@ void
{
ft_draw_hud(clist);
}
+ if (clist->mlist.isskybox)
+ ft_draw_skybox(clist);
ft_calc_sprite(clist);
mlx_put_image_to_window(clist->wlist.wlx,
clist->wlist.winptr, clist->img.img, 0, 0);