Fixed SDL3 functions names.

This commit is contained in:
Ulysse Cura 2026-08-04 21:01:55 +02:00
parent 34ee7e2a57
commit a4b970636b
1 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ void frect_to_rect(const frect_t *frect, rect_t *rect);
*
* @return True if there is an intersection, else false.
*/
#define has_intersection(A, B) SDL_HasIntersection(A, B)
#define has_intersection(A, B) SDL_HasRectIntersection(A, B)
/**
* @brief Verify if there is a intersction between two rectangles. (float)
@ -107,7 +107,7 @@ void frect_to_rect(const frect_t *frect, rect_t *rect);
*
* @return True if there is an intersection, else false.
*/
#define fhas_intersection(A, B) SDL_HasIntersectionF(A, B)
#define fhas_intersection(A, B) SDL_HasRectIntersectionFloat(A, B)
/**
* @brief Verify if there is an intersection between two rectangles and get the intersection rectangle. (int)