diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-03-11 14:57:54 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-03-11 14:57:54 +0100 |
commit | 650e83573987d004171f250e236b21b243477355 (patch) | |
tree | 50b4651c585574a802dd609b267a9ea07b1e78c0 /src | |
parent | why macos (diff) | |
download | 42-cub3d-650e83573987d004171f250e236b21b243477355.tar.gz 42-cub3d-650e83573987d004171f250e236b21b243477355.tar.bz2 42-cub3d-650e83573987d004171f250e236b21b243477355.tar.xz 42-cub3d-650e83573987d004171f250e236b21b243477355.tar.zst 42-cub3d-650e83573987d004171f250e236b21b243477355.zip |
is not working
Diffstat (limited to 'src')
-rw-r--r-- | src/ft_suffer_animation.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ft_suffer_animation.c b/src/ft_suffer_animation.c index a2ce3b1..3d3595a 100644 --- a/src/ft_suffer_animation.c +++ b/src/ft_suffer_animation.c @@ -21,11 +21,9 @@ void int32_t x; int32_t y; int8_t i; - int32_t col; i = -1; - col = 0x00ce2524; - while (++i < 100) + while (++i < 15) { cl->red_scr.img = mlx_new_image(cl->wlist.wlx, cl->wlist.x_size, cl->wlist.y_size); @@ -37,7 +35,7 @@ void { while (++x < (int32_t)cl->wlist.x_size) *(int*)(cl->red_scr.ptr + - (x * 4 + (y * cl->red_scr.sizeline))) = col; + (x * 4 + (y * cl->red_scr.sizeline))) = 0x00ce2524; x = -1; } mlx_put_image_to_window(cl->wlist.wlx, |