mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 21:26:12 +00:00
Hide/disable options when they're not available. Refs #788
* Hopefully these can be restored at some point, when the features are implemented. For now where possible we remove options that are just unavailable always, and selectively disable others when they may or may not be available based on what API the capture uses.
This commit is contained in:
@@ -1263,7 +1263,7 @@ void BufferViewer::stageRowMenu(MeshDataStage stage, QMenu *menu, const QPoint &
|
||||
|
||||
menu->clear();
|
||||
|
||||
if(m_MeshView && stage != MeshDataStage::GSOut)
|
||||
if(m_MeshView && stage != MeshDataStage::GSOut && m_Ctx.CurPipelineState().IsLogD3D11())
|
||||
{
|
||||
menu->addAction(m_DebugVert);
|
||||
menu->addSeparator();
|
||||
|
||||
Reference in New Issue
Block a user