Commit fbfc8df4 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

dxgi: Add IDXGISwapChain4 stubs for D3D11.

Microsoft Flight Simulator (2020) requires IDXGISwapChain4.
parent 3c3bfbfd
......@@ -470,7 +470,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_swapchain_factory_create_swapchain(IWineDX
TRACE("Created swapchain %p.\n", object);
*swapchain = (IDXGISwapChain1 *)&object->IDXGISwapChain3_iface;
*swapchain = (IDXGISwapChain1 *)&object->IDXGISwapChain4_iface;
return S_OK;
}
......
......@@ -172,7 +172,7 @@ struct dxgi_adapter *unsafe_impl_from_IDXGIAdapter(IDXGIAdapter *iface);
/* IDXGISwapChain */
struct d3d11_swapchain
{
IDXGISwapChain3 IDXGISwapChain3_iface;
IDXGISwapChain4 IDXGISwapChain4_iface;
LONG refcount;
struct wined3d_private_store private_store;
struct wined3d_swapchain *wined3d_swapchain;
......
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