Module: wine Branch: master Commit: 47d2a00a28c386176aadaa12a1bf65f88328d63f URL: http://source.winehq.org/git/wine.git/?a=commit;h=47d2a00a28c386176aadaa12a1...
Author: Austin Lund austin.lund@gmail.com Date: Thu Oct 7 10:14:41 2010 +1000
d3d9/tests: Fix test failure for IDirect3D9::CreateDevice in test_set_stream_source.
---
dlls/d3d9/tests/device.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index e4a7b99..8de85e4 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -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");