When showing whole pass in mesh view, show right #instances each draw

This commit is contained in:
baldurk
2017-05-31 11:38:38 +01:00
parent 817ead1b3f
commit ed38e47c92
+1 -1
View File
@@ -794,7 +794,7 @@ void ReplayOutput::DisplayMesh()
if(d)
{
for(uint32_t inst = 0; inst < RDCMAX(1U, draw->numInstances); inst++)
for(uint32_t inst = 0; inst < RDCMAX(1U, d->numInstances); inst++)
{
// get the 'most final' stage
MeshFormat fmt = m_pDevice->GetPostVSBuffers(passEvents[i], inst, MeshDataStage::GSOut);