mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d9/tests: Fix test for old gfx-card.
This commit is contained in:
parent
c27b37a77e
commit
7cfaf4aca0
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ static HRESULT init_d3d9(
|
||||||
|
|
||||||
hres = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_NULLREF, window,
|
hres = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_NULLREF, window,
|
||||||
D3DCREATE_SOFTWARE_VERTEXPROCESSING, device_pparams, device);
|
D3DCREATE_SOFTWARE_VERTEXPROCESSING, device_pparams, device);
|
||||||
ok(hres == D3D_OK, "IDirect3D_CreateDevice returned: 0x%x\n", hres);
|
ok(hres == D3D_OK || hres == D3DERR_NOTAVAILABLE,
|
||||||
|
"IDirect3D_CreateDevice returned: 0x%x\n", hres);
|
||||||
return hres;
|
return hres;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue