CInema: Fix xbaseline differences being ignored with no baseline

This commit is contained in:
Vicki Pfau 2023-12-20 02:12:12 -08:00
parent a171c54b9a
commit 1f6337fc1f
2 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1177,7 +1177,7 @@ void CInemaTestRun(struct CInemaTest* test) {
if (test->status == CI_ERROR) {
break;
}
bool failed = false;
bool failed = true;
if (baselineFound) {
int max = 0;
failed = !_compareImages(test, &image, &expected, &max, diffs ? &diff : NULL);