mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-27 17:06:32 +00:00
Fix crash with NULL drawcall
This commit is contained in:
@@ -1683,7 +1683,7 @@ void D3D11PipelineStateViewer::setState()
|
||||
ui->stencils->setUpdatesEnabled(true);
|
||||
|
||||
// set up thread debugging inputs
|
||||
if(state.m_CS.ShaderDetails && (draw->flags & DrawFlags::Dispatch))
|
||||
if(state.m_CS.ShaderDetails && draw && (draw->flags & DrawFlags::Dispatch))
|
||||
{
|
||||
ui->groupX->setEnabled(true);
|
||||
ui->groupY->setEnabled(true);
|
||||
|
||||
Reference in New Issue
Block a user