aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 23:08:39 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 23:08:39 +0100
commita4eae07949127cbdfa9030ad086c1d0edfa8e1f5 (patch)
tree419651274887318990adb6e434d5f5bcfb835340 /src/ft_draw_scene.c
parentgang_2 (diff)
parentMap update (diff)
download42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.tar.gz
42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.tar.bz2
42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.tar.xz
42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.tar.zst
42-cub3d-a4eae07949127cbdfa9030ad086c1d0edfa8e1f5.zip
Merge branch 'skybox'
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);