Commit 3fdf97a2 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

dxgi: Add IDXGISwapChain2 stubs for D3D11.

parent 2c2ac005
......@@ -470,7 +470,7 @@ static HRESULT STDMETHODCALLTYPE dxgi_swapchain_factory_create_swapchain(IWineDX
TRACE("Created swapchain %p.\n", object);
*swapchain = &object->IDXGISwapChain1_iface;
*swapchain = (IDXGISwapChain1 *)&object->IDXGISwapChain2_iface;
return S_OK;
}
......
......@@ -172,7 +172,7 @@ struct dxgi_adapter *unsafe_impl_from_IDXGIAdapter(IDXGIAdapter *iface);
/* IDXGISwapChain */
struct d3d11_swapchain
{
IDXGISwapChain1 IDXGISwapChain1_iface;
IDXGISwapChain2 IDXGISwapChain2_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