Browse Source

Merge pull request #341 from mmicko/master

Fixed initialization order warning
Branimir Karadžić 10 years ago
parent
commit
66017329cc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/renderer_d3d11.h

+ 2 - 2
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)
 		{
 		}