Commit 88107118 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3d9/tests: Fix test_frame_latency() D3D9Ex test on Windows 10.

parent f3609e0d
...@@ -4140,7 +4140,7 @@ static void test_frame_latency(void) ...@@ -4140,7 +4140,7 @@ static void test_frame_latency(void)
hr = IDirect3DDevice9Ex_GetMaximumFrameLatency(device, &latency); hr = IDirect3DDevice9Ex_GetMaximumFrameLatency(device, &latency);
ok(SUCCEEDED(hr), "Failed to get max frame latency, hr %#x.\n", hr); 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); hr = IDirect3DDevice9Ex_SetMaximumFrameLatency(device, 30);
ok(SUCCEEDED(hr), "Failed to set max frame latency, hr %#x.\n", hr); ok(SUCCEEDED(hr), "Failed to set max frame latency, hr %#x.\n", hr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment