d3d9: Use a HAL device for the stateblock tests.
This commit is contained in:
parent
de494ffe3c
commit
1d9c8a2df7
|
@ -63,7 +63,7 @@ static HRESULT init_d3d9(
|
||||||
device_pparams->hDeviceWindow = window;
|
device_pparams->hDeviceWindow = window;
|
||||||
device_pparams->SwapEffect = D3DSWAPEFFECT_DISCARD;
|
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);
|
D3DCREATE_SOFTWARE_VERTEXPROCESSING, device_pparams, device);
|
||||||
ok(hres == D3D_OK || hres == D3DERR_NOTAVAILABLE,
|
ok(hres == D3D_OK || hres == D3DERR_NOTAVAILABLE,
|
||||||
"IDirect3D_CreateDevice returned: 0x%x\n", hres);
|
"IDirect3D_CreateDevice returned: 0x%x\n", hres);
|
||||||
|
|
Loading…
Reference in New Issue