From d4ec13ec4b4e0c5acff5dc5c55466bb87496afca Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 14 Aug 2020 10:48:43 +0530 Subject: [PATCH v2 4/6] dxgi: Fix order of functions in IDXGIFactory2 interface. Swap between RegisterStereoStatusWindow and RegisterOcclusionStatusWindow methods. Signed-off-by: Biswapriyo Nath --- dlls/dxgi/factory.c | 4 ++-- include/dxgi1_2.idl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/dxgi/factory.c b/dlls/dxgi/factory.c index 6acce51..af18bdd 100644 --- a/dlls/dxgi/factory.c +++ b/dlls/dxgi/factory.c @@ -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, diff --git a/include/dxgi1_2.idl b/include/dxgi1_2.idl index ef256d4..921a66e 100644 --- a/include/dxgi1_2.idl +++ b/include/dxgi1_2.idl @@ -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); -- 2.27.0