mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 13:30:44 +00:00
Create parent folder for any captures created.
This commit is contained in:
@@ -731,6 +731,8 @@ RDCFile *RenderDoc::CreateRDC(RDCDriver driver, uint32_t frameNum, void *thpixel
|
||||
|
||||
ret->SetData(driver, ToStr(driver).c_str(), OSUtility::GetMachineIdent(), thumb);
|
||||
|
||||
FileIO::CreateParentDirectory(m_CurrentLogFile);
|
||||
|
||||
ret->Create(m_CurrentLogFile.c_str());
|
||||
|
||||
if(ret->ErrorCode() != ContainerError::NoError)
|
||||
|
||||
Reference in New Issue
Block a user