mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-17 21:17:09 +00:00
For input vertex picking, return current instance always. Closes #944
* Since we aren't displaying multiple instances we don't want to change the instance selection, so instead of returning 0 return the currently selected instance.
This commit is contained in:
@@ -472,7 +472,8 @@ rdcpair<uint32_t, uint32_t> 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user