aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRudy Bousset <bousset.rudy@gmail.com>2020-05-16 13:57:29 +0200
committerRudy Bousset <bousset.rudy@gmail.com>2020-05-16 13:57:29 +0200
commit1a6c88c012360d1d0187b0ba9cd1964ba757e9b5 (patch)
tree57a9e62de10c429a5dd9076cae6039ce00b13b0f /src
parentCube VM adapted (diff)
download42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.tar.gz
42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.tar.bz2
42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.tar.xz
42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.tar.zst
42-cub3d-1a6c88c012360d1d0187b0ba9cd1964ba757e9b5.zip
Full normed
Diffstat (limited to 'src')
-rw-r--r--src/ft_init_map.c2
-rw-r--r--src/ft_key_loop.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/ft_init_map.c b/src/ft_init_map.c
index 07bc8e8..c5c3888 100644
--- a/src/ft_init_map.c
+++ b/src/ft_init_map.c
@@ -64,7 +64,7 @@ int8_t
mlist->nly = 0;
mlist->sprite_var = 0;
mlist->topsp = 0;
- ft_bzero(mlist->sprite_nbr, FT_TOTAL_SPRT * sizeof(int16_t));
+ ft_bzero(mlist->sprite_nbr, (int)FT_TOTAL_SPRT * sizeof(int16_t));
i = -1;
while (++i < FT_TOTAL_SPRT)
ft_bzero(mlist->sprite_order[i], 4096);
diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c
index 9667e34..281c81e 100644
--- a/src/ft_key_loop.c
+++ b/src/ft_key_loop.c
@@ -38,7 +38,5 @@ int
ft_draw_scene(cl);
ft_timings(begin_frame, cl);
ft_get_fps_count(begin_frame, cl);
- /* mlx_mouse_move(cl->wlist.wlx, cl->wlist.winptr, */
- /* cl->wlist.x_size / 2, cl->wlist.y_size / 2); */
return (0);
}