Skip to content

Commit

Permalink
small update main.cpp (variable renamed)
Browse files Browse the repository at this point in the history
  • Loading branch information
maltsevda authored May 15, 2019
1 parent c3691b3 commit b18607d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ extern "C" IDirect3D9* WINAPI Fake_Direct3DCreate9(UINT SDKVersion)
{
typedef IDirect3D9* (WINAPI * DIRECT3DCREATEPROC)(UINT SDKVersion);
DIRECT3DCREATEPROC Direct3DCreate9Proc = (DIRECT3DCREATEPROC)d3d9dll.Direct3DCreate9;
IDirect3D9* pFakeDirect3D9 = Direct3DCreate9Proc(SDKVersion);
return new FakeDirect3D9(pFakeDirect3D9);
IDirect3D9* pRealDirect3D9 = Direct3DCreate9Proc(SDKVersion);
return new FakeDirect3D9(pRealDirect3D9);
}

BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
Expand Down

0 comments on commit b18607d

Please sign in to comment.