d3d9/tests: Fix test failure for IDirect3D9::CreateDevice in test_set_stream_source.
This commit is contained in:
parent
2f7f135f29
commit
47d2a00a28
@ -2028,7 +2028,8 @@ static void test_set_stream_source(void)
|
|||||||
{
|
{
|
||||||
hr = IDirect3D9_CreateDevice( d3d9, D3DADAPTER_DEFAULT, D3DDEVTYPE_REF, hwnd,
|
hr = IDirect3D9_CreateDevice( d3d9, D3DADAPTER_DEFAULT, D3DDEVTYPE_REF, hwnd,
|
||||||
D3DCREATE_HARDWARE_VERTEXPROCESSING, &present_parameters, &device );
|
D3DCREATE_HARDWARE_VERTEXPROCESSING, &present_parameters, &device );
|
||||||
ok(hr == D3D_OK || hr == D3DERR_NOTAVAILABLE, "IDirect3D9_CreateDevice failed with %08x\n", hr);
|
ok(hr == D3D_OK || hr == D3DERR_NOTAVAILABLE || hr == D3DERR_INVALIDCALL,
|
||||||
|
"IDirect3D9_CreateDevice failed with %08x\n", hr);
|
||||||
if(!device)
|
if(!device)
|
||||||
{
|
{
|
||||||
skip("Failed to create a d3d device\n");
|
skip("Failed to create a d3d device\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user