Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Increased tolerance a little bit more for multiple blending passes ac…
Browse files Browse the repository at this point in the history
…cumulating error.
  • Loading branch information
slouken committed Nov 21, 2009
1 parent bfffff5 commit 55d3c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/automated/common/common.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 55d3c6a

Please sign in to comment.