Fix for variable shadowing warnings (VS2015)

This commit is contained in:
baldurk
2017-02-21 18:43:50 +00:00
parent 5b26aa76a0
commit 57b00d5b94
+1 -2
View File
@@ -473,8 +473,7 @@ uint32_t ReplayOutput::PickVertex(uint32_t eventID, uint32_t x, uint32_t y, uint
for(uint32_t inst = firstInst; inst < maxInst; inst++)
{
// find the start of this buffer, and apply the element offset, then pick in that instance
MeshFormat fmt =
m_pDevice->GetPostVSBuffers(draw->eventID, inst, m_RenderData.meshDisplay.type);
fmt = m_pDevice->GetPostVSBuffers(draw->eventID, inst, m_RenderData.meshDisplay.type);
if(fmt.buf != ResourceId())
cfg.position.offset = fmt.offset + elemOffset;