diff --git a/renderdoc/replay/replay_output.cpp b/renderdoc/replay/replay_output.cpp index 1b854a7f6..8a21e87c0 100644 --- a/renderdoc/replay/replay_output.cpp +++ b/renderdoc/replay/replay_output.cpp @@ -472,7 +472,8 @@ rdcpair ReplayOutput::PickVertex(uint32_t eventId, uint32_t } else { - return make_rdcpair(m_pDevice->PickVertex(m_EventID, m_Width, m_Height, cfg, x, y), 0U); + return make_rdcpair(m_pDevice->PickVertex(m_EventID, m_Width, m_Height, cfg, x, y), + m_RenderData.meshDisplay.curInstance); } }