We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e691f76 commit 5f23109Copy full SHA for 5f23109
test/common.h
@@ -28,7 +28,7 @@ double fuzzyCompareImages(const QImage &a, const QImage &b)
28
29
for (y = 0; y < a.height(); y++) {
30
for (x = 0; x < a.width(); x++) {
31
- if (a.pixel(x, y) != b.pixel(x, y))
+ if (a.pixelColor(x, y).rgba() != b.pixelColor(x, y).rgba())
32
c++;
33
}
34
0 commit comments