Zebediah Figura (@zfigura) commented about dlls/dxgi/tests/dxgi.c:
wait_result = WaitForSingleObject(semaphore, 100); ok(wait_result == WAIT_TIMEOUT, "Got unexpected wait result %#lx.\n", wait_result);
- /* lowering the maximum frame latency doesn't seem to impact the
* semaphore */
- hr = IDXGISwapChain2_SetMaximumFrameLatency(swapchain2, 1);
- ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
- hr = IDXGISwapChain2_GetMaximumFrameLatency(swapchain2, &frame_latency);
- ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);
- ok(frame_latency == 1, "Got unexpected frame latency %#x.\n", frame_latency);
- wait_result = WaitForSingleObject(semaphore, 100);
- ok(wait_result == WAIT_TIMEOUT, "Got unexpected wait result %#lx.\n", wait_result);
I'm not sure I understand what this test is proving?