Remove const from parameter of inline function SDL_RectsEqualEpsilon()

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2025-02-03 19:46:36 -08:00
1 parent 07c22da464
commit 8527d042bc
1 file changed
+1 -1
+1 -1
View File
@@ -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) &&