mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
Fixed initializer order warning.
This commit is contained in:
parent
2ab26d47a9
commit
c698457907
1 changed files with 2 additions and 2 deletions
|
@ -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) );
|
||||||
|
|
Loading…
Reference in a new issue