From 8745d3fa45e6cb11bddfbd0cb0b1b4e35b057c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Fri, 16 Oct 2015 09:03:17 -0700 Subject: [PATCH] Fixed shadowing warning. --- src/bgfx.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index 2b67759ff..3196d6173 100644 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -856,20 +856,20 @@ namespace bgfx { uint16_t item = m_numBlitItems++; - BlitItem& blit = m_blitItem[item]; - blit.m_srcX = _srcX; - blit.m_srcY = _srcY; - blit.m_srcZ = _srcZ; - blit.m_dstX = _dstX; - blit.m_dstY = _dstY; - blit.m_dstZ = _dstZ; - blit.m_width = _width; - blit.m_height = _height; - blit.m_depth = _depth; - blit.m_srcMip = _srcMip; - blit.m_dstMip = _dstMip; - blit.m_src = _src; - blit.m_dst = _dst; + BlitItem& bi = m_blitItem[item]; + bi.m_srcX = _srcX; + bi.m_srcY = _srcY; + bi.m_srcZ = _srcZ; + bi.m_dstX = _dstX; + bi.m_dstY = _dstY; + bi.m_dstZ = _dstZ; + bi.m_width = _width; + bi.m_height = _height; + bi.m_depth = _depth; + bi.m_srcMip = _srcMip; + bi.m_dstMip = _dstMip; + bi.m_src = _src; + bi.m_dst = _dst; BlitKey key; key.m_view = _id;