Increased tolerance a little bit more for multiple blending passes accumulating error.

This commit is contained in:
Sam Lantinga 2009-11-21 07:46:12 +00:00
parent 24d9e6a497
commit fc6a229f72

View File

@ -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;
}