aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
blob: 6927b6d0a5bfb9817fff63d5962ca4ca9714c4fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <libft.h>
#include <mlx.h>
#include <stdlib.h>

int
	main(void)
{
	void *win;
	void *winptr;

	win = mlx_init();
	winptr = (void*)malloc(800 * 600);
	winptr = mlx_new_window(win, 800, 600, "Cub3d");
	mlx_loop(win);
	free(winptr);
	free(win);
	return (0);
}