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:
Matteo Bruni 2019-03-12 21:25:06 +01:00 committed by Alexandre Julliard
parent f3609e0d8d
commit 88107118d5
1 changed files with 1 additions and 1 deletions

View File

@ -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);