Commit 1d9c8a2d authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d9: Use a HAL device for the stateblock tests.

parent de494ffe
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment