d3d10/tests: Improve compare_matrix() ok() messages.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2020-03-27 21:05:10 +01:00 committed by Alexandre Julliard
parent 1db43d5f55
commit 9b28ab83d6
1 changed files with 2 additions and 1 deletions

View File

@ -5168,7 +5168,8 @@ static void compare_matrix(const char *name, unsigned int line, struct d3d10_mat
for (col = 0; col < col_count; ++col)
{
tmp = !transpose ? b->m[row][col] : b->m[col][row];
ok(a->m[row][col] == tmp, "Variable %s, line %d, got unexpected value 0x%08x.\n", name, line,
ok_(__FILE__, line)(a->m[row][col] == tmp,
"Variable %s (%u, %u), got unexpected value 0x%08x.\n", name, row, col,
*(unsigned int *)&tmp);
}
}