While structured exporting frame/context chunks need to save buffers too

This commit is contained in:
baldurk
2017-11-09 15:12:22 +00:00
parent ebe1318f72
commit 997248380e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4654,7 +4654,7 @@ void WrappedOpenGL::ContextReplayLog(CaptureState readType, uint32_t startEventI
if(IsLoading(m_State) || IsStructuredExporting(m_State))
{
ser.ConfigureStructuredExport(&GetChunkName, false);
ser.ConfigureStructuredExport(&GetChunkName, IsStructuredExporting(m_State));
ser.GetStructuredFile().swap(*m_StructuredFile);
+1 -1
View File
@@ -1514,7 +1514,7 @@ void WrappedVulkan::ContextReplayLog(CaptureState readType, uint32_t startEventI
if(IsLoading(m_State) || IsStructuredExporting(m_State))
{
ser.ConfigureStructuredExport(&GetChunkName, false);
ser.ConfigureStructuredExport(&GetChunkName, IsStructuredExporting(m_State));
ser.GetStructuredFile().swap(*m_StructuredFile);