dxgi: Fix order of functions in IDXGIFactory2 interface.

Swap between RegisterStereoStatusWindow and RegisterOcclusionStatusWindow methods.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Biswapriyo Nath 2020-08-14 10:48:43 +05:30 committed by Alexandre Julliard
parent 3822e4f3c2
commit 249697c76d
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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);