Increased tolerance a little bit more for multiple blending passes accumulating error.
authorSam Lantinga <slouken@libsdl.org>
Sat, 21 Nov 2009 07:46:12 +0000
changeset 3476 ab99313951cd
parent 3475 3bd01435287f
child 3477 2c07bb579922
Increased tolerance a little bit more for multiple blending passes accumulating error.
test/automated/common/common.c
--- a/test/automated/common/common.c	Sat Nov 21 07:26:52 2009 +0000
+++ b/test/automated/common/common.c	Sat Nov 21 07:46:12 2009 +0000
@@ -63,7 +63,7 @@
                      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;
                   }