From 8527d042bc2207d6efa15670b1fd85fb613208e6 Mon Sep 17 00:00:00 2001 From: Petar Popovic Date: Tue, 4 Feb 2025 02:28:03 +0100 Subject: [PATCH] Remove const from parameter of inline function SDL_RectsEqualEpsilon() --- include/SDL3/SDL_rect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_rect.h b/include/SDL3/SDL_rect.h index 8998de6f45..eb2d34a69a 100644 --- a/include/SDL3/SDL_rect.h +++ b/include/SDL3/SDL_rect.h @@ -371,7 +371,7 @@ SDL_FORCE_INLINE bool SDL_RectEmptyFloat(const SDL_FRect *r) * * \sa SDL_RectsEqualFloat */ -SDL_FORCE_INLINE bool SDL_RectsEqualEpsilon(const SDL_FRect *a, const SDL_FRect *b, const float epsilon) +SDL_FORCE_INLINE bool SDL_RectsEqualEpsilon(const SDL_FRect *a, const SDL_FRect *b, float epsilon) { return (a && b && ((a == b) || ((SDL_fabsf(a->x - b->x) <= epsilon) &&