From 6ca4a77353d2b70ef44eef3eafb6e85e34b9e3a7 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 16 Apr 2015 14:23:02 +0200 Subject: [PATCH] Fixed initialization order warning --- src/renderer_d3d11.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer_d3d11.h b/src/renderer_d3d11.h index 1bbc3b29..22bf6a0d 100644 --- a/src/renderer_d3d11.h +++ b/src/renderer_d3d11.h @@ -285,10 +285,10 @@ namespace bgfx { namespace d3d11 struct FrameBufferD3D11 { FrameBufferD3D11() - : m_denseIdx(UINT16_MAX) + : m_dsv(NULL) + , m_denseIdx(UINT16_MAX) , m_num(0) , m_numTh(0) - , m_dsv(NULL) { }