reftests: Make diff pixels always opaque

We had pixels that did not differ in alpha and we then set 0 alpha
difference hich made the pixel invisible. Oops.
This commit is contained in:
Benjamin Otte 2021-09-15 16:39:09 +02:00
parent de53b0c7a3
commit 3a8ec683d3

View File

@ -143,6 +143,8 @@ buffer_diff_core (const guchar *buf_a,
guint8 alpha = diff_pixel >> 24;
diff_pixel = alpha * 0x010101;
}
/* make the pixel fully opaque */
diff_pixel |= 0xff000000;
row[x] = diff_pixel;
}