mirror of
https://github.com/yawut/SDL.git
synced 2026-07-19 01:11:38 -05:00
Increased tolerance a little bit more for multiple blending passes accumulating error.
This commit is contained in:
parent
24d9e6a497
commit
fc6a229f72
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user