Commit e957ccc2 authored by Sam Lantinga's avatar Sam Lantinga

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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404217
parent e70cbce9
...@@ -63,7 +63,7 @@ int surface_compare( SDL_Surface *sur, const SurfaceImage_t *img ) ...@@ -63,7 +63,7 @@ int surface_compare( SDL_Surface *sur, const SurfaceImage_t *img )
dist += (A-pd[3])*(A-pd[3]); dist += (A-pd[3])*(A-pd[3]);
} }
/* Allow up to sqrt(32) difference in blending accuracy */ /* 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);*/ /*printf("pixel %d,%d varies by %d\n", i, j, dist);*/
++ret; ++ret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment