mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
On Apple use GetLibraryFilename() to set libfile
Solves problem when injecting renderdoc into a process from an executable which is not renderdoccmd or qrenderdoc
This commit is contained in:
committed by
Baldur Karlsson
parent
87cb4e58b6
commit
004a731607
@@ -754,7 +754,7 @@ rdcpair<ReplayStatus, uint32_t> Process::LaunchAndInjectIntoProcess(
|
||||
|
||||
// on macOS, the path must be absolute
|
||||
#if ENABLED(RDOC_APPLE)
|
||||
libfile = libpath + "/" + libfile;
|
||||
FileIO::GetLibraryFilename(libfile);
|
||||
#endif
|
||||
|
||||
rdcstr optstr = opts.EncodeAsString();
|
||||
|
||||
Reference in New Issue
Block a user