From 480d5dc1d132a49871d4143aed1e11deb688515f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 18 Mar 2020 17:53:31 +0100 Subject: Ready to merge --- src/ft_draw_hud.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ft_draw_hud.c') diff --git a/src/ft_draw_hud.c b/src/ft_draw_hud.c index 7e50ea0..121e85e 100644 --- a/src/ft_draw_hud.c +++ b/src/ft_draw_hud.c @@ -16,9 +16,8 @@ static void ft_put_image_back_to_ptr(uint16_t y, uint16_t x, t_cub *cl) { - uint32_t col; + const uint32_t col = 0x00d2d4d6; - col = 0x00d6d6d6; *(cl->img.ptr + x * 4 + (cl->img.sizeline * y)) = (uint8_t)*(cl->tlist[16].ptr + cl->tlist[16].tex_x * 4 + 4 * cl->tlist[16].img_w * cl->tlist[16].tex_y) & col; -- cgit v1.2.3