mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d9: Use a HAL device for the stateblock tests.
This commit is contained in:
parent
de494ffe3c
commit
1d9c8a2df7
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ static HRESULT init_d3d9(
|
|||
device_pparams->hDeviceWindow = window;
|
||||
device_pparams->SwapEffect = D3DSWAPEFFECT_DISCARD;
|
||||
|
||||
hres = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_NULLREF, window,
|
||||
hres = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, window,
|
||||
D3DCREATE_SOFTWARE_VERTEXPROCESSING, device_pparams, device);
|
||||
ok(hres == D3D_OK || hres == D3DERR_NOTAVAILABLE,
|
||||
"IDirect3D_CreateDevice returned: 0x%x\n", hres);
|
||||
|
|
Loading…
Reference in a new issue