From 86804cb370060b8dbceac5abdd004ecf11d9583f Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 7 Oct 2023 13:38:43 +1100 Subject: [PATCH] printmore --- src/_imaging.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_imaging.c b/src/_imaging.c index 2ab15b41309..fa929d24622 100644 --- a/src/_imaging.c +++ b/src/_imaging.c @@ -3799,8 +3799,9 @@ _compare_pixels( UINT32 *line_a = (UINT32*)pixels_a[y]; UINT32 *line_b = (UINT32*)pixels_b[y]; for (x = 0; x < xsize; x++, line_a++, line_b++) { + printf("mask x %d y %d linea %u lineb %u mask %u lineamask %u linebmask %u\n", x, y, *line_a, *line_b, mask, *line_a & mask, *line_b & mask); if ((*line_a & mask) != (*line_b & mask)) { - printf("mask fail linea %u lineb %u mask %u lineamask %u linebmask %u\n", *line_a, *line_b, mask, *line_a & mask, *line_b & mask); + printf("fail"); return 1; } }