21 Oct
2014
21 Oct
'14
10:37 a.m.
On 20 October 2014 13:08, Stefan Dösinger <stefan(a)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.