From 770b38b4f1167a9f0676847f3e723aab3d862a8a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 15 Nov 2025 16:50:45 -0800 Subject: [PATCH] Loosened epsilon for color matching Fixed https://github.com/libsdl-org/SDL/issues/14473 --- test/testautomation_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_render.c b/test/testautomation_render.c index f4cb02827e..c88a3df7ea 100644 --- a/test/testautomation_render.c +++ b/test/testautomation_render.c @@ -2106,7 +2106,7 @@ static void CheckUniformColor(float expected) { SDL_Surface *surface = SDL_RenderReadPixels(renderer, NULL); if (surface) { - const float epsilon = 0.0001f; + const float epsilon = 0.001f; float r, g, b, a; CHECK_FUNC(SDL_ReadSurfacePixelFloat, (surface, 0, 0, &r, &g, &b, &a)); SDLTest_AssertCheck(