From 9b431298d0346ce2a181771e9cc78b83c97737f1 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Thu, 23 Jan 2020 15:40:55 +0100 Subject: Renamed minilibx to mlx --- src/main.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 75a4559..84d7e23 100644 --- a/src/main.c +++ b/src/main.c @@ -1,7 +1,15 @@ -#include -#include +#include +#include +#include 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); } -- cgit v1.2.3