[GPU] Make TraceDump error handling more robust

Exit with code -1 if GraphicsSystem::Capture failed
This commit is contained in:
DrChat
2017-12-15 22:31:10 -06:00
parent 8cabc114e9
commit 66d19a462b
3 changed files with 35 additions and 16 deletions

View File

@@ -53,7 +53,7 @@ class TraceDump {
private:
bool Setup();
bool Load(std::wstring trace_file_path);
void Run();
int Run();
std::wstring trace_file_path_;
std::wstring base_output_path_;