mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-16 09:09:26 +00:00
Flush file after writing header length fixups, to ensure it's written
This commit is contained in:
1 file changed
+2
@@ -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