Novidia: fix running without GLIntercept

This commit is contained in:
somewhatlurker
2020-07-24 21:41:06 +10:00
parent 0bb614ce53
commit 93e7a34ab8
3 changed files with 19 additions and 26 deletions
@@ -5,7 +5,6 @@
// use this as a hook to perform initialisation
void(__cdecl* glutSetCursor)(int cursor) = *(void(__cdecl**)(int))0x140966068;
void(__cdecl* uploadModelTransformBuf)(DWORD* a1, int a2) = (void(__cdecl*)(DWORD * a1, int a2))0x140444fa0;
PROC(*wGlGetProcAddress_forhook)(LPCSTR) = (PROC(*)(LPCSTR))(GetProcAddress(GetModuleHandle(L"opengl32.dll"), "wglGetProcAddress"));;
bool& performTransform = *(bool*)0x14cc57bb0;