|
|
|
@ -37,13 +37,6 @@ private:
|
|
|
|
|
static HRESULT STDMETHODCALLTYPE MyPresent(IDirect3DDevice9* _this, CONST RECT* pSourceRect, CONST RECT* pDestRect, HWND hDestWindowOverride, CONST RGNDATA* pDirtyRegion);
|
|
|
|
|
static HRESULT STDMETHODCALLTYPE MyPresentEx(IDirect3DDevice9Ex* _this, CONST RECT* pSourceRect, CONST RECT* pDestRect, HWND hDestWindowOverride, CONST RGNDATA* pDirtyRegion, DWORD dwFlags);
|
|
|
|
|
|
|
|
|
|
// Hook functions so we know we use DX9
|
|
|
|
|
//static decltype(Direct3DCreate9) MyDirect3DCreate9;
|
|
|
|
|
//static decltype(Direct3DCreate9Ex) MyDirect3DCreate9Ex;
|
|
|
|
|
|
|
|
|
|
//decltype(Direct3DCreate9)* Direct3DCreate9;
|
|
|
|
|
//decltype(Direct3DCreate9Ex)* Direct3DCreate9Ex;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
virtual ~DX9_Hook();
|
|
|
|
|
|
|
|
|
|