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:
baldurk
2018-04-05 11:07:44 +01:00
parent 42cf604d38
commit 3387f49efb
+2 -1
View File
@@ -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);
}
}