rename window fdf

This commit is contained in:
hugogogo
2021-07-25 14:24:05 +02:00
parent a429813165
commit e4b4f5e751
8 changed files with 3 additions and 1 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -26,7 +26,7 @@ void init_server(t_fdf *fdf)
if (!fdf->mlx_ptr)
shut_down(fdf);
fdf->win_ptr = mlx_new_window(fdf->mlx_ptr, fdf->win_size_x,
fdf->win_size_y, "test");
fdf->win_size_y, "fdf");
if (!fdf->win_ptr)
shut_down(fdf);
fdf->img_ptr = mlx_new_image(fdf->mlx_ptr, fdf->img_size_x,
+2
View File
@@ -14,6 +14,8 @@ int **split_to_map(t_fdf *fdf, char *raw)
int j;
int **map;
if (fdf->map_height == 0)
shut_down(fdf);
map = ft_calloc(fdf->map_height, sizeof(map));
if (!map)
shut_down(fdf);