mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
dxva2/tests: Skip tests if D3D9 is unusable.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
4623c41100
commit
2dd3a20520
1 changed files with 10 additions and 0 deletions
|
@ -695,6 +695,16 @@ done:
|
|||
|
||||
START_TEST(dxva2)
|
||||
{
|
||||
IDirect3D9 *d3d;
|
||||
|
||||
d3d = Direct3DCreate9(D3D_SDK_VERSION);
|
||||
if (!d3d)
|
||||
{
|
||||
skip("Failed to initialize D3D9. Skipping tests.\n");
|
||||
return;
|
||||
}
|
||||
IDirect3D9_Release(d3d);
|
||||
|
||||
test_device_manager();
|
||||
test_video_processor();
|
||||
test_progressive_device();
|
||||
|
|
Loading…
Reference in a new issue