wined3d: Switch the visual tests back to D3DDEVTYPE_HAL.

This commit is contained in:
Stefan Dösinger 2008-02-09 23:57:35 +01:00 committed by Alexandre Julliard
parent 81de2fa10a
commit 9950cb4bf5
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ static IDirect3DDevice9 *init_d3d9(void)
present_parameters.EnableAutoDepthStencil = TRUE;
present_parameters.AutoDepthStencilFormat = D3DFMT_D16;
hr = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_REF, present_parameters.hDeviceWindow, D3DCREATE_SOFTWARE_VERTEXPROCESSING, &present_parameters, &device_ptr);
hr = IDirect3D9_CreateDevice(d3d9_ptr, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, present_parameters.hDeviceWindow, D3DCREATE_SOFTWARE_VERTEXPROCESSING, &present_parameters, &device_ptr);
ok(hr == D3D_OK || hr == D3DERR_NOTAVAILABLE, "IDirect3D_CreateDevice returned: %s\n", DXGetErrorString9(hr));
return device_ptr;