diff --git a/renderdoc/replay/replay_controller.cpp b/renderdoc/replay/replay_controller.cpp index 99345decf..3fed08294 100644 --- a/renderdoc/replay/replay_controller.cpp +++ b/renderdoc/replay/replay_controller.cpp @@ -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 = {};