[PATCH] dxgi: Make dxgi_swapchain_SetFullscreenState() hotpatchable.
Józef Kucia
jkucia at codeweavers.com
Sun Oct 18 18:58:59 CDT 2015
Required by Steam Game Overlay Renderer.
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
Fixes the crash reported in bug 37200.
---
dlls/dxgi/swapchain.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dxgi/swapchain.c b/dlls/dxgi/swapchain.c
index f1495cb..a12e1e5 100644
--- a/dlls/dxgi/swapchain.c
+++ b/dlls/dxgi/swapchain.c
@@ -178,10 +178,10 @@ static HRESULT STDMETHODCALLTYPE dxgi_swapchain_GetBuffer(IDXGISwapChain *iface,
return hr;
}
-static HRESULT STDMETHODCALLTYPE dxgi_swapchain_SetFullscreenState(IDXGISwapChain *iface,
+static HRESULT STDMETHODCALLTYPE DECLSPEC_HOTPATCH dxgi_swapchain_SetFullscreenState(IDXGISwapChain *iface,
BOOL fullscreen, IDXGIOutput *target)
{
- FIXME("iface %p, fullscreen %u, target %p stub!\n", iface, fullscreen, target);
+ FIXME("iface %p, fullscreen %#x, target %p stub!\n", iface, fullscreen, target);
return E_NOTIMPL;
}
--
2.4.10
More information about the wine-patches
mailing list