d3d9: Use a HAL device for the stateblock tests.

This commit is contained in:
Henri Verbeet 2008-12-29 09:14:29 +01:00 committed by Alexandre Julliard
parent de494ffe3c
commit 1d9c8a2df7

View file

@ -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);