d3d9/tests: Fix test_frame_latency() D3D9Ex test on Windows 10.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f3609e0d8d
commit
88107118d5
|
@ -4140,7 +4140,7 @@ static void test_frame_latency(void)
|
|||
|
||||
hr = IDirect3DDevice9Ex_GetMaximumFrameLatency(device, &latency);
|
||||
ok(SUCCEEDED(hr), "Failed to get max frame latency, hr %#x.\n", hr);
|
||||
ok(latency == 3, "Unexpected default max frame latency %u.\n", latency);
|
||||
ok(latency == 3 || !latency, "Unexpected default max frame latency %u.\n", latency);
|
||||
|
||||
hr = IDirect3DDevice9Ex_SetMaximumFrameLatency(device, 30);
|
||||
ok(SUCCEEDED(hr), "Failed to set max frame latency, hr %#x.\n", hr);
|
||||
|
|
Loading…
Reference in New Issue