Skip to content

Commit

Permalink
printmore
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Oct 7, 2023
1 parent 62a46ec commit 86804cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/_imaging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 86804cb

Please sign in to comment.