Andrey Gusev : dxgi: Add DECLSPEC_HOTPATCH to d3d11_swapchain_Present().

Alexandre Julliard julliard at winehq.org
Fri Aug 23 09:31:26 CDT 2019


Module: wine
Branch: stable
Commit: e3539df7a9709de3767b1e479d6a7bdf92ea4513
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e3539df7a9709de3767b1e479d6a7bdf92ea4513

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Tue Apr 23 14:28:27 2019 +0300

dxgi: Add DECLSPEC_HOTPATCH to d3d11_swapchain_Present().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46953
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46971
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 29cd7dd0725e9f66bb080f4f5b76fd2e4328ba69)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/dxgi/swapchain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dxgi/swapchain.c b/dlls/dxgi/swapchain.c
index 509e075..412dcad 100644
--- a/dlls/dxgi/swapchain.c
+++ b/dlls/dxgi/swapchain.c
@@ -264,7 +264,7 @@ static HRESULT d3d11_swapchain_present(struct d3d11_swapchain *swapchain,
     return wined3d_swapchain_present(swapchain->wined3d_swapchain, NULL, NULL, NULL, sync_interval, 0);
 }
 
-static HRESULT STDMETHODCALLTYPE d3d11_swapchain_Present(IDXGISwapChain1 *iface, UINT sync_interval, UINT flags)
+static HRESULT STDMETHODCALLTYPE DECLSPEC_HOTPATCH d3d11_swapchain_Present(IDXGISwapChain1 *iface, UINT sync_interval, UINT flags)
 {
     struct d3d11_swapchain *swapchain = d3d11_swapchain_from_IDXGISwapChain1(iface);
 




More information about the wine-cvs mailing list