mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 15:00:47 +00:00
Bugfix - function doesn't take wchar_t* any more!
This commit is contained in:
@@ -327,7 +327,7 @@ uint32_t Process::InjectIntoProcess(uint32_t pid, const char *logfile, const Cap
|
||||
// safe to cast away the const as we know these functions don't modify the parameters
|
||||
|
||||
if(logfile != NULL)
|
||||
InjectFunctionCall(hProcess, loc, "RENDERDOC_SetLogFile", (void *)wlogfile.c_str(), (wlogfile.length()+1)*sizeof(wchar_t));
|
||||
InjectFunctionCall(hProcess, loc, "RENDERDOC_SetLogFile", (void *)logfile, strlen(logfile)+1);
|
||||
|
||||
if(opts != NULL)
|
||||
InjectFunctionCall(hProcess, loc, "RENDERDOC_SetCaptureOptions", (CaptureOptions *)opts, sizeof(CaptureOptions));
|
||||
|
||||
Reference in New Issue
Block a user