mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't hide RWs on GL if there are no subroutines
This commit is contained in:
@@ -1039,7 +1039,7 @@ void GLPipelineStateViewer::setShaderState(const GLPipe::Shader &stage, QLabel *
|
||||
readwrites->setUpdatesEnabled(true);
|
||||
readwrites->verticalScrollBar()->setValue(vs);
|
||||
|
||||
readwrites->parentWidget()->setVisible(!stage.Subroutines.empty());
|
||||
readwrites->parentWidget()->setVisible(readwrites->invisibleRootItem()->childCount() > 0);
|
||||
}
|
||||
|
||||
QString GLPipelineStateViewer::MakeGenericValueString(uint32_t compCount, CompType compType,
|
||||
|
||||
Reference in New Issue
Block a user