mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
dxva2/tests: Add another render target format to fix a test failure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
fad925d582
commit
3adf638c61
|
@ -580,11 +580,12 @@ static void test_progressive_device(void)
|
|||
MAKEFOURCC('N','V','1','2'),
|
||||
};
|
||||
|
||||
static const D3DFORMAT support_rt_formats[] =
|
||||
static const D3DFORMAT supported_rt_formats[] =
|
||||
{
|
||||
D3DFMT_X8R8G8B8,
|
||||
MAKEFOURCC('N','V','1','2'),
|
||||
D3DFMT_YUY2,
|
||||
D3DFMT_A2R10G10B10,
|
||||
};
|
||||
|
||||
window = create_window();
|
||||
|
@ -647,7 +648,7 @@ static void test_progressive_device(void)
|
|||
ok(count > 0, "Unexpected format count %u.\n", count);
|
||||
for (j = 0; j < count; ++j)
|
||||
{
|
||||
ok(check_format_list(rt_formats[j], support_rt_formats, ARRAY_SIZE(support_rt_formats)),
|
||||
ok(check_format_list(rt_formats[j], supported_rt_formats, ARRAY_SIZE(supported_rt_formats)),
|
||||
"Unexpected rt format %#x for input format %#x.\n", rt_formats[j], input_formats[i]);
|
||||
}
|
||||
CoTaskMemFree(rt_formats);
|
||||
|
|
Loading…
Reference in a new issue