From c698457907d0850967cbb00126b186bacd979a38 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Mon, 18 Feb 2013 22:30:11 -0800 Subject: [PATCH] Fixed initializer order warning. --- src/renderer_gl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 839d2a01..bd40c5b9 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -157,7 +157,8 @@ namespace bgfx struct RendererContext { RendererContext() - : m_capture(NULL) + : m_rtMsaa(false) + , m_capture(NULL) , m_captureSize(0) , m_maxAnisotropy(0.0f) , m_maxMsaa(0) @@ -167,7 +168,6 @@ namespace bgfx , m_flip(false) , m_postSwapBuffers(NULL) , m_hash( (BX_PLATFORM_WINDOWS<<1) | BX_ARCH_64BIT) - , m_rtMsaa(false) { m_rt.idx = invalidHandle; memset(&m_resolution, 0, sizeof(m_resolution) );