Delete temp RGP capture before triggering capture

This commit is contained in:
baldurk
2020-01-07 17:59:04 +00:00
parent 29a650d859
commit 6dde0ba652
+2
View File
@@ -1696,6 +1696,8 @@ rdcstr ReplayController::CreateRGPProfile(WindowingData window)
rdcstr path = FileIO::GetTempFolderFilename() + "/renderdoc_rgp_capture.rgp";
FileIO::Delete(path.c_str());
ReplayOutput *output = CreateOutput(window, ReplayOutputType::Texture);
TextureDisplay d = {};