mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-11 08:23:46 +00:00
If LogfileLoaded is called out of order, ensure pipeline state is ready
This commit is contained in:
1 parent
6ee0ef0402
commit
64686d26d6
1 file changed
+3
@@ -79,6 +79,9 @@ void PipelineStateViewer::OnLogfileClosed()
|
||||
|
||||
void PipelineStateViewer::OnEventChanged(uint32_t eventID)
|
||||
{
|
||||
if(m_Ctx->CurPipelineState.DefaultType != m_Ctx->APIProps().pipelineType)
|
||||
OnLogfileLoaded();
|
||||
|
||||
if(m_Current)
|
||||
m_Current->OnEventChanged(eventID);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user