Commit 249697c7 authored by Biswapriyo Nath's avatar Biswapriyo Nath Committed by Alexandre Julliard

dxgi: Fix order of functions in IDXGIFactory2 interface.

Swap between RegisterStereoStatusWindow and RegisterOcclusionStatusWindow methods. Signed-off-by: 's avatarBiswapriyo Nath <nathbappai@gmail.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 3822e4f3
......@@ -522,10 +522,10 @@ static const struct IWineDXGIFactoryVtbl dxgi_factory_vtbl =
dxgi_factory_CreateSwapChainForHwnd,
dxgi_factory_CreateSwapChainForCoreWindow,
dxgi_factory_GetSharedResourceAdapterLuid,
dxgi_factory_RegisterOcclusionStatusWindow,
dxgi_factory_RegisterStereoStatusWindow,
dxgi_factory_RegisterStereoStatusEvent,
dxgi_factory_UnregisterStereoStatus,
dxgi_factory_RegisterStereoStatusWindow,
dxgi_factory_RegisterOcclusionStatusWindow,
dxgi_factory_RegisterOcclusionStatusEvent,
dxgi_factory_UnregisterOcclusionStatus,
dxgi_factory_CreateSwapChainForComposition,
......
......@@ -318,7 +318,7 @@ interface IDXGIFactory2 : IDXGIFactory1
[in] HANDLE hResource,
[out] LUID *pLuid);
HRESULT RegisterOcclusionStatusWindow(
HRESULT RegisterStereoStatusWindow(
[in] HWND WindowHandle,
[in] UINT wMsg,
[out] DWORD *pdwCookie);
......@@ -330,7 +330,7 @@ interface IDXGIFactory2 : IDXGIFactory1
void UnregisterStereoStatus(
[in] DWORD dwCookie);
HRESULT RegisterStereoStatusWindow(
HRESULT RegisterOcclusionStatusWindow(
[in] HWND WindowHandle,
[in] UINT wMsg,
[out] DWORD *pdwCookie);
......
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