enable CreateDXTexture hook

This commit is contained in:
rexx 2022-07-08 22:33:43 +01:00
parent 931670e0ac
commit d64079fd6b

View File

@ -651,14 +651,14 @@ RPakLoadedInfo_t* RTech::GetPakLoadedInfo(const char* szPakName)
void RTech_Utils_Attach()
{
#ifndef DEDICATED
//DetourAttach((LPVOID*)&RTech_CreateDXTexture, &RTech::CreateDXTexture);
DetourAttach((LPVOID*)&RTech_CreateDXTexture, &RTech::CreateDXTexture);
#endif
}
void RTech_Utils_Detach()
{
#ifndef DEDICATED
//DetourDetach((LPVOID*)&RTech_CreateDXTexture, &RTech::CreateDXTexture);
DetourDetach((LPVOID*)&RTech_CreateDXTexture, &RTech::CreateDXTexture);
#endif
}