From e957ccc22a0cd18dfa69d0068372f46d5836a471 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 21 Nov 2009 07:46:12 +0000 Subject: [PATCH] Increased tolerance a little bit more for multiple blending passes accumulating error. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404217 --- test/automated/common/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/automated/common/common.c b/test/automated/common/common.c index d6e26334a..be0874d16 100644 --- a/test/automated/common/common.c +++ b/test/automated/common/common.c @@ -63,7 +63,7 @@ int surface_compare( SDL_Surface *sur, const SurfaceImage_t *img ) dist += (A-pd[3])*(A-pd[3]); } /* Allow up to sqrt(32) difference in blending accuracy */ - if (dist > 32) { + if (dist > 64) { /*printf("pixel %d,%d varies by %d\n", i, j, dist);*/ ++ret; }