Fix: removed the t_img texture and left the t_texture instead.
This commit is contained in:
parent
eda859f200
commit
7f1091b721
9 changed files with 35 additions and 40 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/12/01 17:43:17 by bgoulard #+# #+# */
|
||||
/* Updated: 2024/12/16 09:39:50 by bgoulard ### ########.fr */
|
||||
/* Updated: 2024/12/17 17:17:53 by bgoulard ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -17,6 +17,12 @@
|
|||
#include <X11/X.h>
|
||||
#include <stdio.h>
|
||||
|
||||
void sv_errno(t_info *inf, int err_code)
|
||||
{
|
||||
inf->errno_state = errno;
|
||||
inf->last_error = err_code;
|
||||
}
|
||||
|
||||
t_tile *c3_get_cell(t_tile *map, t_ipoint dimensions, t_ipoint pos)
|
||||
{
|
||||
if (pos.x < 0 || pos.y < 0 || pos.x >= dimensions.x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue