aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_winlx.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 18:12:45 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2020-02-02 18:12:56 +0100
commit95670611b3636932b6e64c3e485a4e4bf40d8b07 (patch)
tree77a588ad4c2b9ac84bfc124f8fab37887d7d8bf8 /src/ft_init_winlx.c
parentNorme (diff)
download42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.tar.gz
42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.tar.bz2
42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.tar.xz
42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.tar.zst
42-cub3d-95670611b3636932b6e64c3e485a4e4bf40d8b07.zip
Norme again
Diffstat (limited to 'src/ft_init_winlx.c')
-rw-r--r--src/ft_init_winlx.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/ft_init_winlx.c b/src/ft_init_winlx.c
index 5706685..b9c714e 100644
--- a/src/ft_init_winlx.c
+++ b/src/ft_init_winlx.c
@@ -1,10 +1,23 @@
+/* ************************************************************************** */
+/* LE - / */
+/* / */
+/* ft_init_winlx.c .:: .:/ . .:: */
+/* +:+:+ +: +: +:+:+ */
+/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */
+/* #+# #+ #+ #+# */
+/* Created: 2020/02/02 17:19:29 by rbousset #+# ## ## #+# */
+/* Updated: 2020/02/02 17:19:29 by rbousset ### #+. /#+ ###.fr */
+/* / */
+/* / */
+/* ************************************************************************** */
+
#include <libft.h>
#include <mlx.h>
#include <cub3d.h>
#include <stdlib.h>
int
-ft_init_winlx(t_cub *clist)
+ ft_init_winlx(t_cub *clist)
{
ft_memdel((void**)&clist->wlist->wlx);
if (!(clist->wlist->wlx = mlx_init()))
@@ -15,6 +28,6 @@ ft_init_winlx(t_cub *clist)
return (-1);
clist->wlist->inited = 1;
ft_printf("Created window of size %dx%d\n",
- clist->wlist->x_size, clist->wlist->y_size);
+ clist->wlist->x_size, clist->wlist->y_size);
return (0);
}