24 lines
1.1 KiB
C
24 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* render_clear.c :+: :+: */
|
|
/* +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2025/04/17 20:05:51 by qmennen #+# #+# */
|
|
/* Updated: 2025/05/07 11:37:36 by whaffman ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "render.h"
|
|
|
|
void render_clear(t_screen *screen)
|
|
{
|
|
int i;
|
|
|
|
i = 0;
|
|
while (i++ < screen->width * screen->height)
|
|
mlx_put_pixel(screen->minimap,
|
|
i % screen->width, i / screen->width, 0x0);
|
|
}
|