mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 07:26:34 +00:00
Change variable to local to avoid clashes on threads
This commit is contained in:
@@ -153,7 +153,6 @@ struct CachedHookData
|
||||
std::map<rdcstr, DllHookset> DllHooks;
|
||||
HMODULE ownmodule = NULL;
|
||||
Threading::CriticalSection lock;
|
||||
char lowername[512] = {};
|
||||
|
||||
std::set<rdcstr> ignores;
|
||||
|
||||
@@ -164,6 +163,8 @@ struct CachedHookData
|
||||
|
||||
void ApplyHooks(const char *modName, HMODULE module)
|
||||
{
|
||||
char lowername[512] = {};
|
||||
|
||||
{
|
||||
size_t i = 0;
|
||||
while(modName[i])
|
||||
|
||||
Reference in New Issue
Block a user