d3d: Make EndScene calls hookable.
This commit is contained in:
parent
024dcba89a
commit
e80144c403
|
@ -1056,7 +1056,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_BeginScene(LPDIRECT3DDEVICE8 iface) {
|
|||
return hr;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirect3DDevice8Impl_EndScene(LPDIRECT3DDEVICE8 iface) {
|
||||
static HRESULT WINAPI DECLSPEC_HOTPATCH IDirect3DDevice8Impl_EndScene(LPDIRECT3DDEVICE8 iface) {
|
||||
IDirect3DDevice8Impl *This = (IDirect3DDevice8Impl *)iface;
|
||||
HRESULT hr;
|
||||
TRACE("(%p) Relay\n" , This);
|
||||
|
|
|
@ -1097,7 +1097,7 @@ static HRESULT WINAPI IDirect3DDevice9Impl_BeginScene(LPDIRECT3DDEVICE9EX ifac
|
|||
return hr;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI IDirect3DDevice9Impl_EndScene(LPDIRECT3DDEVICE9EX iface) {
|
||||
static HRESULT WINAPI DECLSPEC_HOTPATCH IDirect3DDevice9Impl_EndScene(LPDIRECT3DDEVICE9EX iface) {
|
||||
IDirect3DDevice9Impl *This = (IDirect3DDevice9Impl *)iface;
|
||||
HRESULT hr;
|
||||
TRACE("(%p) Relay\n" , This);
|
||||
|
|
|
@ -1704,13 +1704,13 @@ IDirect3DDeviceImpl_7_EndScene(IDirect3DDevice7 *iface)
|
|||
else return D3DERR_SCENE_NOT_IN_SCENE;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI
|
||||
static HRESULT WINAPI DECLSPEC_HOTPATCH
|
||||
IDirect3DDeviceImpl_7_EndScene_FPUSetup(IDirect3DDevice7 *iface)
|
||||
{
|
||||
return IDirect3DDeviceImpl_7_EndScene(iface);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI
|
||||
static HRESULT WINAPI DECLSPEC_HOTPATCH
|
||||
IDirect3DDeviceImpl_7_EndScene_FPUPreserve(IDirect3DDevice7 *iface)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
@ -1723,7 +1723,7 @@ IDirect3DDeviceImpl_7_EndScene_FPUPreserve(IDirect3DDevice7 *iface)
|
|||
return hr;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI
|
||||
static HRESULT WINAPI DECLSPEC_HOTPATCH
|
||||
Thunk_IDirect3DDeviceImpl_3_EndScene(IDirect3DDevice3 *iface)
|
||||
{
|
||||
IDirect3DDeviceImpl *This = device_from_device3(iface);
|
||||
|
@ -1731,7 +1731,7 @@ Thunk_IDirect3DDeviceImpl_3_EndScene(IDirect3DDevice3 *iface)
|
|||
return IDirect3DDevice7_EndScene((IDirect3DDevice7 *)This);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI
|
||||
static HRESULT WINAPI DECLSPEC_HOTPATCH
|
||||
Thunk_IDirect3DDeviceImpl_2_EndScene(IDirect3DDevice2 *iface)
|
||||
{
|
||||
IDirect3DDeviceImpl *This = device_from_device2(iface);
|
||||
|
@ -1739,7 +1739,7 @@ Thunk_IDirect3DDeviceImpl_2_EndScene(IDirect3DDevice2 *iface)
|
|||
return IDirect3DDevice7_EndScene((IDirect3DDevice7 *)This);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI
|
||||
static HRESULT WINAPI DECLSPEC_HOTPATCH
|
||||
Thunk_IDirect3DDeviceImpl_1_EndScene(IDirect3DDevice *iface)
|
||||
{
|
||||
IDirect3DDeviceImpl *This = device_from_device1(iface);
|
||||
|
|
Loading…
Reference in New Issue