mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Wrap up CaptureOptions encoding via string into member util functions
This commit is contained in:
@@ -607,7 +607,7 @@ struct GlobalHookCommand : public Command
|
||||
string debuglog = parser.get<string>("debuglog");
|
||||
|
||||
CaptureOptions cmdopts;
|
||||
readCapOpts(parser.get<string>("capopts").c_str(), &cmdopts);
|
||||
cmdopts.DecodeFromString(parser.get<string>("capopts"));
|
||||
|
||||
// make sure the user doesn't accidentally run this with 'a' as a parameter or something.
|
||||
// "a.exe" is over 4 characters so this limit should not be a problem.
|
||||
|
||||
Reference in New Issue
Block a user