mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +00:00
Keep debug log the same even when going via cap32for64
This commit is contained in:
@@ -548,6 +548,7 @@ struct Cap32For64Command : public Command
|
||||
{
|
||||
parser.add<uint32_t>("pid", 0, "");
|
||||
parser.add<string>("log", 0, "");
|
||||
parser.add<string>("debuglog", 0, "");
|
||||
parser.add<string>("capopts", 0, "");
|
||||
parser.stop_at_rest(true);
|
||||
}
|
||||
@@ -634,6 +635,10 @@ struct Cap32For64Command : public Command
|
||||
type, sep);
|
||||
}
|
||||
|
||||
string debuglog = parser.get<string>("debuglog");
|
||||
|
||||
RENDERDOC_SetDebugLogFile(debuglog.c_str());
|
||||
|
||||
int ret = RENDERDOC_InjectIntoProcess(parser.get<uint32_t>("pid"), env,
|
||||
parser.get<string>("log").c_str(), &cmdopts, false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user