mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Flush file after writing header length fixups, to ensure it's written
This commit is contained in:
@@ -1092,6 +1092,8 @@ StreamWriter *RDCFile::WriteSection(const SectionProperties &props)
|
||||
{
|
||||
RETURNERROR(ContainerError::FileIO, "Error applying fixup to section header, errno %d", errno);
|
||||
}
|
||||
|
||||
FileIO::fflush(m_File);
|
||||
});
|
||||
|
||||
if(modifySectionCallback)
|
||||
|
||||
Reference in New Issue
Block a user