This seems no longer needed for dedicated servers

Shader/texture assets are no longer loaded where the pointer parameters to the asset unloading function won't be out of scope anymore
This commit is contained in:
Amos 2022-01-12 13:11:11 +01:00
parent e6254e3a03
commit 5612c7a3a7

View File

@ -51,10 +51,10 @@ void HRtech_AsyncLoad(std::string svPakFileName)
void RTech_Game_Attach()
{
DetourAttach((LPVOID*)&RTech_UnloadAsset, &HRTech_UnloadAsset);
//DetourAttach((LPVOID*)&RTech_UnloadAsset, &HRTech_UnloadAsset);
}
void RTech_Game_Detach()
{
DetourAttach((LPVOID*)&RTech_UnloadAsset, &HRTech_UnloadAsset);
//DetourAttach((LPVOID*)&RTech_UnloadAsset, &HRTech_UnloadAsset);
}