mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Guard RTech::CreateDXTexture out for S0/S1
This commit is contained in:
parent
e14934d244
commit
59eeec656a
@ -650,14 +650,14 @@ RPakLoadedInfo_t* RTech::GetPakLoadedInfo(const char* szPakName)
|
||||
|
||||
void RTech_Utils_Attach()
|
||||
{
|
||||
#ifndef DEDICATED
|
||||
#if not defined DEDICATED && defined (GAMEDLL_S3)
|
||||
DetourAttach((LPVOID*)&RTech_CreateDXTexture, &RTech::CreateDXTexture);
|
||||
#endif
|
||||
}
|
||||
|
||||
void RTech_Utils_Detach()
|
||||
{
|
||||
#ifndef DEDICATED
|
||||
#if not defined DEDICATED && defined (GAMEDLL_S3)
|
||||
DetourDetach((LPVOID*)&RTech_CreateDXTexture, &RTech::CreateDXTexture);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user