aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_draw_scene.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_draw_scene.c2
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,