[5/14] D3D9: Use HAL devices in some tests
Vitaliy Margolen
wine-devel at kievinfo.com
Wed Nov 7 00:13:24 CST 2007
Stefan Dösinger wrote:
>
> ------------------------------------------------------------------------
>
>
>
> @@ -343,7 +343,7 @@ static void test_refcount(void)
> d3dpp.EnableAutoDepthStencil = TRUE;
> d3dpp.AutoDepthStencilFormat = D3DFMT_D16;
>
> - hr = IDirect3D9_CreateDevice( pD3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_NULLREF, hwnd,
> + hr = IDirect3D9_CreateDevice( pD3d, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hwnd,
> D3DCREATE_SOFTWARE_VERTEXPROCESSING, &d3dpp, &pDevice );
> ok(SUCCEEDED(hr), "Failed to create IDirect3D9Device (%s)\n", DXGetErrorString9(hr));
> if (FAILED(hr)) goto cleanup;
By doing this change you render all VMs useless to run d3d tests. This is much bigger loss
then broken tests on vista.
Vitaliy
More information about the wine-devel
mailing list