Fix: removed the t_img texture and left the t_texture instead.

This commit is contained in:
B.Goulard 2024-12-17 17:28:51 +01:00
parent eda859f200
commit 7f1091b721
9 changed files with 35 additions and 40 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/30 16:30:03 by rparodi #+# #+# */
/* Updated: 2024/12/17 16:55:25 by bgoulard ### ########.fr */
/* Updated: 2024/12/17 17:17:12 by bgoulard ### ########.fr */
/* */
/* ************************************************************************** */
@ -37,9 +37,12 @@ void check_err(t_info *info)
void run_cub3d(t_info *info)
{
info->mlx_ptr = mlx_init();
if (!info->mlx_ptr)
return (sv_errno(info, ERROR_MLX), (void)0);
parse_map(info);
if (init_mlx_env(info) != NO_ERROR)
return (c3_perror(info));
parse_map(info);
if (info->cli_ctx.debug)
ft_putstr_fd("no debug mod on production run", STDERR_FILENO);
if (info->last_error != NO_ERROR)