Commit 89a50c8e authored by Kimmo Myllyvirta's avatar Kimmo Myllyvirta Committed by Alexandre Julliard

dxgi: Add stub implementation for DXGI_PRESENT_TEST.

parent 1cf6624f
......@@ -532,10 +532,16 @@ static HRESULT STDMETHODCALLTYPE dxgi_swapchain_Present1(IDXGISwapChain1 *iface,
TRACE("iface %p, sync_interval %u, flags %#x, present_parameters %p.\n",
iface, sync_interval, flags, present_parameters);
if (flags & ~DXGI_PRESENT_TEST)
FIXME("Unimplemented flags %#x.\n", flags);
if (flags & DXGI_PRESENT_TEST)
{
WARN("Returning S_OK for DXGI_PRESENT_TEST.\n");
return S_OK;
}
if (sync_interval)
FIXME("Unimplemented sync interval %u.\n", sync_interval);
if (flags)
FIXME("Unimplemented flags %#x.\n", flags);
if (present_parameters)
FIXME("Ignored present parameters %p.\n", present_parameters);
......
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