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@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 29cd7dd072)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
oldstable
Andrey Gusev 2019-04-23 14:28:27 +03:00 committed by Michael Stefaniuc
parent f8795125cd
commit e3539df7a9
1 changed files with 1 additions and 1 deletions

View File

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