diff options
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, |