[PATCH 2/6] d3d9/tests: Use create_device in test_fpu_setup.
Henri Verbeet
hverbeet at gmail.com
Tue Oct 21 04:37:53 CDT 2014
On 20 October 2014 13:08, Stefan Dösinger <stefan at codeweavers.com> wrote:
> @@ -3598,20 +3604,18 @@ static void test_fpu_setup(void)
> d3d9 = Direct3DCreate9(D3D_SDK_VERSION);
> ok(!!d3d9, "Failed to create a D3D object.\n");
>
> - memset(&present_parameters, 0, sizeof(present_parameters));
> - present_parameters.Windowed = TRUE;
> - present_parameters.hDeviceWindow = window;
> - present_parameters.SwapEffect = D3DSWAPEFFECT_DISCARD;
> + device_desc.device_window = window;
> + device_desc.width = 640;
> + device_desc.height = 480;
> + device_desc.flags = CREATE_DEVICE_HWVP_ONLY;
>
This essentially matches the existing code, but does the test really
not work with software vertexprocessing? It seems to work for me.
More information about the wine-devel
mailing list