d3d9/tests: Fix test failure for IDirect3D9::CreateDevice in test_set_stream_source.

This commit is contained in:
Austin Lund 2010-10-07 10:14:41 +10:00 committed by Alexandre Julliard
parent 2f7f135f29
commit 47d2a00a28
1 changed files with 2 additions and 1 deletions

View File

@ -2028,7 +2028,8 @@ static void test_set_stream_source(void)
{
hr = IDirect3D9_CreateDevice( d3d9, D3DADAPTER_DEFAULT, D3DDEVTYPE_REF, hwnd,
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)
{
skip("Failed to create a d3d device\n");