diff options
author | Sam Lantinga <slouken@libsdl.org> | 2009-11-21 07:46:12 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2009-11-21 07:46:12 +0000 |
commit | e957ccc22a0cd18dfa69d0068372f46d5836a471 (patch) | |
tree | bcbaed1def067f0dea37e67fbbc3d7c6ff0d5079 /test | |
parent | e70cbce9043ffc6e57635f48d803a7a7a229cdf8 (diff) |
Increased tolerance a little bit more for multiple blending passes accumulating error.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404217
Diffstat (limited to 'test')
-rw-r--r-- | test/automated/common/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/automated/common/common.c b/test/automated/common/common.c index d6e26334..be0874d1 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; } |