mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Don't show individual enabled scissors if global toggle is off
This commit is contained in:
@@ -1647,7 +1647,7 @@ void D3D11PipelineStateViewer::setState()
|
||||
{
|
||||
const Scissor &s = state.rasterizer.scissors[i];
|
||||
|
||||
if(s.enabled || ui->showEmpty->isChecked())
|
||||
if((s.enabled && state.rasterizer.state.scissorEnable) || ui->showEmpty->isChecked())
|
||||
{
|
||||
RDTreeWidgetItem *node = new RDTreeWidgetItem({i, s.x, s.y, s.width, s.height});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user