Module: wine Branch: master Commit: 7f675174c8a25cc04ad09702dfb6a7d649d74576 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7f675174c8a25cc04ad09702df...
Author: Stefan Dösinger stefan@codeweavers.com Date: Mon Mar 3 10:15:38 2014 +0100
d3d9: Make ResetEx and PresentEx hookable.
---
dlls/d3d9/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3d9/device.c b/dlls/d3d9/device.c index 73ac97f..66bee95 100644 --- a/dlls/d3d9/device.c +++ b/dlls/d3d9/device.c @@ -3066,7 +3066,7 @@ static HRESULT WINAPI d3d9_device_ComposeRects(IDirect3DDevice9Ex *iface, return E_NOTIMPL; }
-static HRESULT WINAPI d3d9_device_PresentEx(IDirect3DDevice9Ex *iface, +static HRESULT WINAPI DECLSPEC_HOTPATCH d3d9_device_PresentEx(IDirect3DDevice9Ex *iface, const RECT *src_rect, const RECT *dst_rect, HWND dst_window_override, const RGNDATA *dirty_region, DWORD flags) { @@ -3185,7 +3185,7 @@ static HRESULT WINAPI d3d9_device_CreateDepthStencilSurfaceEx(IDirect3DDevice9Ex return E_NOTIMPL; }
-static HRESULT WINAPI d3d9_device_ResetEx(IDirect3DDevice9Ex *iface, +static HRESULT WINAPI DECLSPEC_HOTPATCH d3d9_device_ResetEx(IDirect3DDevice9Ex *iface, D3DPRESENT_PARAMETERS *present_parameters, D3DDISPLAYMODEEX *mode) { struct d3d9_device *device = impl_from_IDirect3DDevice9Ex(iface);