Skip to content

Commit

Permalink
Adjusted readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Nakroma committed Jul 31, 2017
1 parent 184e6b3 commit e910c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit e910c1d

Please sign in to comment.