Fixed initializer order warning.

This commit is contained in:
bkaradzic 2013-02-18 22:30:11 -08:00
parent 2ab26d47a9
commit c698457907

View file

@ -157,7 +157,8 @@ namespace bgfx
struct RendererContext struct RendererContext
{ {
RendererContext() RendererContext()
: m_capture(NULL) : m_rtMsaa(false)
, m_capture(NULL)
, m_captureSize(0) , m_captureSize(0)
, m_maxAnisotropy(0.0f) , m_maxAnisotropy(0.0f)
, m_maxMsaa(0) , m_maxMsaa(0)
@ -167,7 +168,6 @@ namespace bgfx
, m_flip(false) , m_flip(false)
, m_postSwapBuffers(NULL) , m_postSwapBuffers(NULL)
, m_hash( (BX_PLATFORM_WINDOWS<<1) | BX_ARCH_64BIT) , m_hash( (BX_PLATFORM_WINDOWS<<1) | BX_ARCH_64BIT)
, m_rtMsaa(false)
{ {
m_rt.idx = invalidHandle; m_rt.idx = invalidHandle;
memset(&m_resolution, 0, sizeof(m_resolution) ); memset(&m_resolution, 0, sizeof(m_resolution) );