From e910c1dcdbed9aa19146d774684efe976f0c15a5 Mon Sep 17 00:00:00 2001 From: Nakroma Date: Mon, 31 Jul 2017 19:45:19 +0200 Subject: [PATCH] Adjusted readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8fa3769..bad30b1 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ NexusHook hkMngr; // Present hook HRESULT __stdcall SwapChainPresentHook(IDXGISwapChain* pThis, UINT SyncInterval, UINT Flags) { std::cout << "Hook called!" << std::endl; - return (D3D11PresentHook)hkMngr.oFunctions[SC_PRESENT]; + return ((D3D11PresentHook)hkMngr.oFunctions[SC_PRESENT])(pThis, SyncInterval, Flags); } void main() {