t_turelist to t_texture_list

This commit is contained in:
2025-12-11 19:58:18 +01:00
parent d296e1b6f2
commit 7b3364c2bf
5 changed files with 32 additions and 32 deletions

View File

@@ -6,7 +6,7 @@
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/12/09 18:46:27 by aortigos #+# #+# */
/* Updated: 2025/12/11 19:48:18 by aortigos ### ########.fr */
/* Updated: 2025/12/11 19:57:55 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
@@ -24,9 +24,9 @@ void render_frame(void *mlx_ptr)
mlx_image_to_window(mlx->mlx_ptr, mlx->img, 0, 0);
}
int check_load_ture(t_turelist *list)
int check_load_ture(t_texture_list *list)
{
t_turelist *tmp;
t_texture_list *tmp;
mlx_texture_t *texture;
tmp = list;
@@ -48,9 +48,9 @@ int check_load_ture(t_turelist *list)
return (1);
}
int load_texture(t_tex *tex, t_turelist *l_ture)
int load_texture(t_tex *tex, t_texture_list *l_ture)
{
t_turelist *tmp;
t_texture_list *tmp;
if (!l_ture)
return (0);