diff options
author | salaaad2 <arthudurant263@gmail.com> | 2020-02-25 18:09:57 +0100 |
---|---|---|
committer | salaaad2 <arthudurant263@gmail.com> | 2020-02-25 18:09:57 +0100 |
commit | 3f8b598e0a1b60475fdf8aa98c601b4513a24efa (patch) | |
tree | cdaee1e850e0b3a5d790ee4ccf07f33a5778d637 /src/ft_draw_scene.c | |
parent | ??? (diff) | |
download | 42-cub3d-3f8b598e0a1b60475fdf8aa98c601b4513a24efa.tar.gz 42-cub3d-3f8b598e0a1b60475fdf8aa98c601b4513a24efa.tar.bz2 42-cub3d-3f8b598e0a1b60475fdf8aa98c601b4513a24efa.tar.xz 42-cub3d-3f8b598e0a1b60475fdf8aa98c601b4513a24efa.tar.zst 42-cub3d-3f8b598e0a1b60475fdf8aa98c601b4513a24efa.zip |
gee
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 0df3596..3f43495 100644 --- a/src/ft_draw_scene.c +++ b/src/ft_draw_scene.c @@ -22,8 +22,8 @@ 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); + ft_calc_sprite(clist); if (clist->ishud) ft_draw_hud(clist); mlx_put_image_to_window(clist->wlist->wlx, |