mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed shadowing variable warning.
This commit is contained in:
parent
d2204e5cf2
commit
f81dadd9b8
1 changed files with 2 additions and 4 deletions
|
@ -2150,13 +2150,11 @@ namespace bgfx { namespace gl
|
|||
m_resolution = _resolution;
|
||||
m_resolution.m_flags = flags;
|
||||
|
||||
uint32_t flags = m_resolution.m_flags;
|
||||
#if BGFX_CONFIG_USE_OVR
|
||||
if ((flags & BGFX_RESET_HMD) && m_ovr.isInitialized())
|
||||
if ( (flags & BGFX_RESET_HMD)
|
||||
&& m_ovr.isInitialized() )
|
||||
{
|
||||
flags &= ~BGFX_RESET_MSAA_MASK;
|
||||
}
|
||||
#endif // BGFX_CONFIG_OVR
|
||||
|
||||
setRenderContextSize(m_resolution.m_width
|
||||
, m_resolution.m_height
|
||||
|
|
Loading…
Reference in a new issue