mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Compile fix for official release builds. Didn't show up in nightlies!
This commit is contained in:
@@ -70,8 +70,6 @@ class CrashHandler : public ICrashHandler
|
||||
wchar_t radpath[MAX_PATH] = {0};
|
||||
GetModuleFileNameW(GetModuleHandleA("renderdoc.dll"), radpath, MAX_PATH-1);
|
||||
|
||||
size_t len = wcslen(radpath);
|
||||
|
||||
wchar_t *slash = wcsrchr(radpath, L'\\');
|
||||
|
||||
if(slash)
|
||||
@@ -101,7 +99,7 @@ class CrashHandler : public ICrashHandler
|
||||
|
||||
CreateProcessW(NULL, paramsAlloc, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);
|
||||
|
||||
DWORD res = WaitForSingleObject(waitEvent, 2000);
|
||||
WaitForSingleObject(waitEvent, 2000);
|
||||
|
||||
CloseHandle(waitEvent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user