diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,7 +1,15 @@ -#include <stddef.h> -#include <string.h> +#include <libft.h> +#include <mlx.h> +#include <stdlib.h> int main(void) { - strlen(NULL); + void *win; + void *winptr; + + win = mlx_init(); + winptr = (void*)malloc(800 * 600); + winptr = mlx_new_window(win, 800, 600, "Cub3d"); + free(win); + free(winptr); return (0); } |