From 57b00d5b9434bb4546a375807e9bb75057a2f289 Mon Sep 17 00:00:00 2001 From: baldurk Date: Tue, 21 Feb 2017 18:43:50 +0000 Subject: [PATCH] Fix for variable shadowing warnings (VS2015) --- renderdoc/replay/replay_output.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/renderdoc/replay/replay_output.cpp b/renderdoc/replay/replay_output.cpp index 902f3dca8..1966234b2 100644 --- a/renderdoc/replay/replay_output.cpp +++ b/renderdoc/replay/replay_output.cpp @@ -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;