mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 15:36:33 +00:00
While structured exporting frame/context chunks need to save buffers too
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user