[tests,primitives] make error message more verbose

This commit is contained in:
akallabeth 2024-02-15 14:14:31 +01:00 committed by akallabeth
parent e8194a8fa3
commit 1a42cf4f26
1 changed files with 5 additions and 2 deletions

View File

@ -75,8 +75,11 @@ static BOOL similarRGB(const BYTE* src, const BYTE* dst, size_t size, UINT32 for
if (dA != fill)
{
fprintf(stderr, "[%s] Invalid destination alpha value %02X at position %" PRIuz "\n",
use444 ? "AVC444" : "AVC420", dA, x);
fprintf(
stderr,
"[%s] Invalid destination alpha value 0x%02X [expected 0x%02X] at position %" PRIuz
"\n",
use444 ? "AVC444" : "AVC420", dA, fill, x);
return FALSE;
}
}